diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-01-20 18:19:35 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-01-20 18:19:35 -0500 |
| commit | 611ef9db7b99705ee2bf0d80e0100de1a14ab058 (patch) | |
| tree | b471f86dd0379dd7a746eee32422c6138d5d3cc7 | |
| parent | 4ccb3b2224ea9a632be288c34f68d6dd9c25e5b6 (diff) | |
| download | sigen-611ef9db7b99705ee2bf0d80e0100de1a14ab058.tar.gz sigen-611ef9db7b99705ee2bf0d80e0100de1a14ab058.tar.xz sigen-611ef9db7b99705ee2bf0d80e0100de1a14ab058.zip | |
Cleaned up Weather widget
| -rw-r--r-- | sigmodr/gui/weather.ui | 63 |
1 files changed, 36 insertions, 27 deletions
diff --git a/sigmodr/gui/weather.ui b/sigmodr/gui/weather.ui index 55abcc1c..0feac7eb 100644 --- a/sigmodr/gui/weather.ui +++ b/sigmodr/gui/weather.ui @@ -1,12 +1,22 @@ <ui version="4.0" > <class>formWeather</class> <widget class="QWidget" name="formWeather" > - <layout class="QVBoxLayout" > - <item> - <widget class="QGroupBox" name="boxName" > - <property name="title" > - <string comment="Label for the name of the weather" >Name</string> + <layout class="QGridLayout" > + <item row="0" column="0" > + <widget class="QLabel" name="labelName" > + <property name="text" > + <string comment="Label for the name of the weather" >Name:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignVCenter</set> + </property> + <property name="buddy" > + <cstring>varName</cstring> </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="KLineEdit" name="varName" > <property name="toolTip" > <string>Name of the weather (internal use only)</string> </property> @@ -16,34 +26,29 @@ <property name="whatsThis" > <string>Name of the weather (internal use only)</string> </property> - <layout class="QHBoxLayout" > - <item> - <widget class="KLineEdit" name="varName" > - <property name="showClearButton" stdset="0" > - <bool>true</bool> - </property> - </widget> - </item> - </layout> + <property name="showClearButton" stdset="0" > + <bool>true</bool> + </property> </widget> </item> - <item> + <item row="1" column="0" colspan="2" > <widget class="QGroupBox" name="boxScript" > <property name="title" > <string>Script</string> </property> - <property name="toolTip" > - <string>The script that controls the effects of the weather</string> - </property> - <property name="statusTip" > - <string>The script that controls the effects of the weather</string> - </property> - <property name="whatsThis" > - <string>The script that controls the effects of the weather</string> - </property> - <layout class="QHBoxLayout" > - <item> - <widget class="Sigmodr::ScriptWidget" name="varScript" /> + <layout class="QGridLayout" > + <item row="0" column="0" > + <widget class="Sigmodr::ScriptWidget" name="varScript" > + <property name="toolTip" > + <string>The script that controls the effects of the weather</string> + </property> + <property name="statusTip" > + <string>The script that controls the effects of the weather</string> + </property> + <property name="whatsThis" > + <string>The script that controls the effects of the weather</string> + </property> + </widget> </item> </layout> </widget> @@ -62,6 +67,10 @@ <header>ScriptWidget.h</header> </customwidget> </customwidgets> + <tabstops> + <tabstop>varName</tabstop> + <tabstop>varScript</tabstop> + </tabstops> <resources/> <connections/> </ui> |
