Fixed the layout.
authordherring <dherring@c4713191-9d10-0410-88e3-c3bdc45b6a85>
Tue, 4 Apr 2006 19:16:54 +0000 (19:16 +0000)
committerdherring <dherring@c4713191-9d10-0410-88e3-c3bdc45b6a85>
Tue, 4 Apr 2006 19:16:54 +0000 (19:16 +0000)
MainWindow.ui

index 77a2081..1251f8c 100644 (file)
    <string>QtComm</string>
   </property>
   <widget class="QWidget" name="centralwidget" >
-   <widget class="QLabel" name="label" >
-    <property name="geometry" >
-     <rect>
-      <x>9</x>
-      <y>9</y>
-      <width>347</width>
-      <height>20</height>
-     </rect>
+   <layout class="QGridLayout" >
+    <property name="margin" >
+     <number>9</number>
     </property>
-    <property name="text" >
-     <string>Serial Log:</string>
+    <property name="spacing" >
+     <number>6</number>
     </property>
-   </widget>
-   <widget class="QLabel" name="label_2" >
-    <property name="geometry" >
-     <rect>
-      <x>9</x>
-      <y>180</y>
-      <width>347</width>
-      <height>20</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>Input Text:</string>
-    </property>
-   </widget>
-   <widget class="QLineEdit" name="inputText" >
-    <property name="geometry" >
-     <rect>
-      <x>9</x>
-      <y>208</y>
-      <width>347</width>
-      <height>23</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QPushButton" name="sendButton" >
-    <property name="geometry" >
-     <rect>
-      <x>362</x>
-      <y>206</y>
-      <width>77</width>
-      <height>27</height>
-     </rect>
-    </property>
-    <property name="text" >
-     <string>Send</string>
-    </property>
-   </widget>
-   <widget class="QTextEdit" name="serialLog" >
-    <property name="geometry" >
-     <rect>
-      <x>9</x>
-      <y>35</y>
-      <width>431</width>
-      <height>139</height>
-     </rect>
-    </property>
-    <property name="readOnly" >
-     <bool>true</bool>
-    </property>
-   </widget>
+    <item row="1" column="0" colspan="2" >
+     <widget class="QTextEdit" name="serialLog" >
+      <property name="readOnly" >
+       <bool>true</bool>
+      </property>
+     </widget>
+    </item>
+    <item row="3" column="1" >
+     <widget class="QPushButton" name="sendButton" >
+      <property name="text" >
+       <string>Send</string>
+      </property>
+     </widget>
+    </item>
+    <item row="3" column="0" >
+     <widget class="QLineEdit" name="inputText" />
+    </item>
+    <item row="2" column="0" >
+     <widget class="QLabel" name="label_2" >
+      <property name="text" >
+       <string>Input Text:</string>
+      </property>
+     </widget>
+    </item>
+    <item row="0" column="0" >
+     <widget class="QLabel" name="label" >
+      <property name="text" >
+       <string>Serial Log:</string>
+      </property>
+     </widget>
+    </item>
+   </layout>
   </widget>
   <widget class="QMenuBar" name="menubar" >
    <property name="geometry" >