lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 24/39] Port xconfig to Qt5 - Tree widget set column titles.
    Date
    From: Boris Barbulovski <bbarbulovski@gmail.com>

    Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
    Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
    ---
    scripts/kconfig/qconf.cc | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
    index 8d72e4a..c64b905 100644
    --- a/scripts/kconfig/qconf.cc
    +++ b/scripts/kconfig/qconf.cc
    @@ -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)));

    --
    2.1.4


    \
     
     \ /
      Last update: 2015-09-22 21:01    [W:2.546 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site