diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2015-09-22 11:36:10 -0700 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2015-10-14 14:59:01 +0200 |
commit | 29a70168e2637385295cc60549c038d3c958f8a8 (patch) | |
tree | d9f2d954e8ac86ac642e3b5ad1f989d5dbf239a8 /scripts/kconfig | |
parent | 34d6320b825ec2d261d4cb1af83f0582cd2e7954 (diff) | |
download | linux-29a70168e2637385295cc60549c038d3c958f8a8.tar.bz2 |
Port xconfig to Qt5 - Fix layout
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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/qconf.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index df1700ec2a68..3a5ff5dcae05 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -855,9 +855,13 @@ QAction *ConfigView::showPromptAction; ConfigView::ConfigView(QWidget* parent, const char *name) : Parent(parent, name) { + QVBoxLayout *verticalLayout = new QVBoxLayout(this); + list = new ConfigList(this, name); + verticalLayout->addWidget(list); lineEdit = new ConfigLineEdit(this); lineEdit->hide(); + verticalLayout->addWidget(lineEdit); this->nextView = viewList; viewList = this; @@ -1302,6 +1306,7 @@ ConfigMainWindow::ConfigMainWindow(void) menu = menuBar(); toolBar = new QToolBar("Tools", this); + addToolBar(toolBar); backAction = new QAction(QPixmap(xpm_back), _("Back"), this); connect(backAction, SIGNAL(activated()), SLOT(goBack())); |