diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-12 23:06:09 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-12 23:06:09 (GMT) |
commit | fa5f9836514d95d482b0fa8da7a4e2bed00b6f3c (patch) | |
tree | 6004a299d3eebb63aecf394ef8ffec75f4800720 /Source/QtDialog | |
parent | b0ddb9c1b81044af2894729199a0051077ff3f74 (diff) | |
download | CMake-fa5f9836514d95d482b0fa8da7a4e2bed00b6f3c.zip CMake-fa5f9836514d95d482b0fa8da7a4e2bed00b6f3c.tar.gz CMake-fa5f9836514d95d482b0fa8da7a4e2bed00b6f3c.tar.bz2 |
ENH: Fix layout with Qt 4.2.
BUG: Fix help comments to match what this GUI does.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 4 | ||||
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.ui | 41 |
2 files changed, 39 insertions, 6 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx index e6192b3..4f2884c 100644 --- a/Source/QtDialog/CMakeSetupDialog.cxx +++ b/Source/QtDialog/CMakeSetupDialog.cxx @@ -350,8 +350,8 @@ void CMakeSetupDialog::doHelp() "sure the values are correct. For some projects the Configure process can " "be iterative, so continue to press the Configure button until there are no " "longer red entries.\r\n\r\n4. Once there are no longer red entries, you " - "should click the OK button. This will write the build files to the build " - "directory and exit CMake."); + "should click the Generate button. This will write the build files to the build " + "directory."); QDialog dialog; dialog.setWindowTitle(tr("CMakeSetup Help")); diff --git a/Source/QtDialog/CMakeSetupDialog.ui b/Source/QtDialog/CMakeSetupDialog.ui index d32b7a5..6e13673 100644 --- a/Source/QtDialog/CMakeSetupDialog.ui +++ b/Source/QtDialog/CMakeSetupDialog.ui @@ -10,8 +10,20 @@ </rect> </property> <layout class="QGridLayout" > + <property name="margin" > + <number>9</number> + </property> + <property name="spacing" > + <number>6</number> + </property> <item row="0" column="0" > <layout class="QGridLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> <item row="0" column="0" > <widget class="QLabel" name="label" > <property name="text" > @@ -39,7 +51,9 @@ <item row="1" column="1" > <widget class="QComboBox" name="BinaryDirectory" > <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -74,12 +88,23 @@ <property name="margin" > <number>0</number> </property> + <property name="spacing" > + <number>6</number> + </property> <item> <layout class="QHBoxLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> <item> <widget class="QLabel" name="label_4" > <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Minimum" > + <sizepolicy> + <hsizetype>0</hsizetype> + <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -92,7 +117,9 @@ <item> <widget class="QLineEdit" name="Search" > <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -116,7 +143,7 @@ </property> <property name="sizeHint" > <size> - <width>61</width> + <width>40</width> <height>23</height> </size> </property> @@ -168,6 +195,12 @@ </item> <item> <layout class="QHBoxLayout" > + <property name="margin" > + <number>0</number> + </property> + <property name="spacing" > + <number>6</number> + </property> <item> <widget class="QPushButton" name="ConfigureButton" > <property name="text" > |