Port xconfig to Qt5 - Tree widget set column titles.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Thiago Macieira <thiago.macieira@intel.com> Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
Родитель
e484fe3a9b
Коммит
a52cb321de
|
@ -318,6 +318,8 @@ ConfigList::ConfigList(ConfigView* p, const char *name)
|
|||
setSortingEnabled(-1);
|
||||
setRootIsDecorated(true);
|
||||
|
||||
setHeaderLabels(QStringList() << _("Option") << _("Name") << "N" << "M" << "Y" << _("Value"));
|
||||
|
||||
connect(this, SIGNAL(itemSelectionChanged(void)),
|
||||
SLOT(updateSelection(void)));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче