[cmake-commits] clinton committed CMakeSetupDialog.cxx 1.21 1.22 CMakeSetupDialog.ui 1.14 1.15

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Nov 12 18:06:11 EST 2007


Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv4275

Modified Files:
	CMakeSetupDialog.cxx CMakeSetupDialog.ui 
Log Message:
ENH:  Fix layout with Qt 4.2.
BUG:  Fix help comments to match what this GUI does.


Index: CMakeSetupDialog.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeSetupDialog.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- CMakeSetupDialog.cxx	12 Nov 2007 22:51:23 -0000	1.21
+++ CMakeSetupDialog.cxx	12 Nov 2007 23:06:09 -0000	1.22
@@ -350,8 +350,8 @@
     "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"));

Index: CMakeSetupDialog.ui
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeSetupDialog.ui,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- CMakeSetupDialog.ui	12 Nov 2007 22:41:15 -0000	1.14
+++ CMakeSetupDialog.ui	12 Nov 2007 23:06:09 -0000	1.15
@@ -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" >



More information about the Cmake-commits mailing list