PDA

View Full Version : define column in designer QT4.1.1



raphaelf
26th February 2006, 20:31
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?

jacek
26th February 2006, 21:15
QListView and QListWidget can have only one column (like QListBox in Qt3). Use QTreeWidget instead.

wysota
26th February 2006, 21:30
And remember that views operate on models, thus defining columns for them makes no sense, as they are taken from the model.