Results 1 to 7 of 7

Thread: array list!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2009
    Posts
    44
    Qt products
    Qt4
    Platforms
    Windows

    Default array list!

    good morning!

    I have to do a list of char datas.

    The code that I'm using is:

    Qt Code:
    1. archivo::archivo(QWidget *parent)
    2. : QWidget(parent)
    3. {
    4.  
    5. QListView *list = new QListView;
    6. list<<"maider"<<"peter"<<"maider";
    7.  
    8. list->show();
    9.  
    10. }
    To copy to clipboard, switch view to plain text mode 


    why can't i see the list? In qt4 to do an array they use QVector fuction. Which function can I use in QT3?my version is: Version: 3.4.1
    Last edited by wysota; 27th July 2009 at 14:53. Reason: missing [code] tags

Similar Threads

  1. QFtp hidden files/folder's list
    By jay in forum Qt Programming
    Replies: 1
    Last Post: 26th December 2008, 12:12
  2. Replies: 2
    Last Post: 19th September 2008, 05:21
  3. Single slot for multiple list boxes
    By Sheetal in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 06:53
  4. Replies: 1
    Last Post: 22nd October 2007, 02:04
  5. QComboBox drop list button events
    By maird in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2007, 19:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.