Port xconfig to Qt5 - Tree widget set column titles.
authorBoris Barbulovski <bbarbulovski@gmail.com>
Tue, 22 Sep 2015 18:36:24 +0000 (11:36 -0700)
committerMichal Marek <mmarek@suse.com>
Wed, 14 Oct 2015 12:59:03 +0000 (14:59 +0200)
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>
scripts/kconfig/qconf.cc

index 8d72e4ae62912e2b50e314502682350bfa21241c..c64b90517bdb6fdf0688ce9798974518d4a9acdd 100644 (file)
@@ -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)));