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:
parent
e484fe3a9b
commit
a52cb321de
|
@ -318,6 +318,8 @@ ConfigList::ConfigList(ConfigView* p, const char *name)
|
||||||
setSortingEnabled(-1);
|
setSortingEnabled(-1);
|
||||||
setRootIsDecorated(true);
|
setRootIsDecorated(true);
|
||||||
|
|
||||||
|
setHeaderLabels(QStringList() << _("Option") << _("Name") << "N" << "M" << "Y" << _("Value"));
|
||||||
|
|
||||||
connect(this, SIGNAL(itemSelectionChanged(void)),
|
connect(this, SIGNAL(itemSelectionChanged(void)),
|
||||||
SLOT(updateSelection(void)));
|
SLOT(updateSelection(void)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue