issue #0002733: Preferences dialog box

This commit is contained in:
wmayer 2016-10-16 08:14:29 +02:00
parent 91f94443ab
commit 001ebc0b70
2 changed files with 2 additions and 3 deletions

View File

@ -60,9 +60,6 @@
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Sunken</enum> <enum>QFrame::Sunken</enum>
</property> </property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="horizontalScrollBarPolicy"> <property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum> <enum>Qt::ScrollBarAlwaysOff</enum>
</property> </property>

View File

@ -63,6 +63,8 @@ DlgPreferencesImp::DlgPreferencesImp(QWidget* parent, Qt::WindowFlags fl)
invalidParameter(false), canEmbedScrollArea(true) invalidParameter(false), canEmbedScrollArea(true)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->listBox->setFixedWidth(130);
ui->listBox->setGridSize(QSize(108, 120));
connect(ui->buttonBox, SIGNAL (helpRequested()), connect(ui->buttonBox, SIGNAL (helpRequested()),
getMainWindow(), SLOT (whatsThis())); getMainWindow(), SLOT (whatsThis()));