Results 1 to 3 of 3

Thread: define column in designer QT4.1.1

  1. #1
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default define column in designer QT4.1.1

    Hello everybody,

    Its not possible to define The ListView columns in the designer like in QT3?
    For example column1 = name, column2 = surname...

    Combobox allow me to define items...and what about listview columns?
    Think DigitalGasoline

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: define column in designer QT4.1.1

    QListView and QListWidget can have only one column (like QListBox in Qt3). Use QTreeWidget instead.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: define column in designer QT4.1.1

    And remember that views operate on models, thus defining columns for them makes no sense, as they are taken from the model.

Similar Threads

  1. Replies: 2
    Last Post: 11th March 2008, 14:30
  2. odd double widgets
    By jhearon in forum Qt Programming
    Replies: 1
    Last Post: 23rd February 2008, 19:18
  3. qt4.1.1 designer
    By raphaelf in forum Qt Tools
    Replies: 10
    Last Post: 26th February 2006, 17:56

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.