summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-01-20 00:34:21 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-01-20 00:34:21 -0500
commit3f926ac62b9caccc1f44e82fca3ceb2d7043e6b4 (patch)
treec8d569b35f2f1afd4855f32f435d71dd16819ee0
parent81814bb24da516425d233fcbbd6e2726cd275e1b (diff)
Cleaned up CoinListItem widget
-rw-r--r--sigmodr/gui/coinlistitem.ui85
1 files changed, 52 insertions, 33 deletions
diff --git a/sigmodr/gui/coinlistitem.ui b/sigmodr/gui/coinlistitem.ui
index bc4ae2bd..6010df58 100644
--- a/sigmodr/gui/coinlistitem.ui
+++ b/sigmodr/gui/coinlistitem.ui
@@ -1,12 +1,22 @@
<ui version="4.0" >
<class>formCoinListItem</class>
<widget class="QWidget" name="formCoinListItem" >
- <layout class="QVBoxLayout" >
- <item>
- <widget class="QGroupBox" name="boxType" >
- <property name="title" >
- <string>Type</string>
+ <layout class="QGridLayout" >
+ <item row="0" column="0" >
+ <widget class="QLabel" name="labelType" >
+ <property name="text" >
+ <string>Type:</string>
</property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignVCenter</set>
+ </property>
+ <property name="buddy" >
+ <cstring>varType</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" >
+ <widget class="KComboBox" name="varType" >
<property name="toolTip" >
<string>The type of item</string>
</property>
@@ -16,18 +26,23 @@
<property name="whatsThis" >
<string>The type ofitem</string>
</property>
- <layout class="QVBoxLayout" >
- <item>
- <widget class="KComboBox" name="varType" />
- </item>
- </layout>
</widget>
</item>
- <item>
- <widget class="QGroupBox" name="boxObject" >
- <property name="title" >
- <string>Object</string>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="labelObject" >
+ <property name="text" >
+ <string>Object:</string>
</property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignVCenter</set>
+ </property>
+ <property name="buddy" >
+ <cstring>varObject</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="KComboBox" name="varObject" >
<property name="toolTip" >
<string>The object to be sold</string>
</property>
@@ -37,18 +52,23 @@
<property name="whatsThis" >
<string>The object to be sold</string>
</property>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="KComboBox" name="varObject" />
- </item>
- </layout>
</widget>
</item>
- <item>
- <widget class="QGroupBox" name="boxCost" >
- <property name="title" >
- <string>Cost</string>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="labelCost" >
+ <property name="text" >
+ <string>Cost:</string>
+ </property>
+ <property name="alignment" >
+ <set>Qt::AlignRight|Qt::AlignVCenter</set>
+ </property>
+ <property name="buddy" >
+ <cstring>varCost</cstring>
</property>
+ </widget>
+ </item>
+ <item row="2" column="1" >
+ <widget class="KIntNumInput" name="varCost" >
<property name="toolTip" >
<string>How much the object[s] cost</string>
</property>
@@ -58,18 +78,12 @@
<property name="whatsThis" >
<string>How much the object[s] cost</string>
</property>
- <layout class="QHBoxLayout" >
- <item>
- <widget class="KIntNumInput" name="varCost" >
- <property name="minimum" >
- <number>0</number>
- </property>
- </widget>
- </item>
- </layout>
+ <property name="minimum" >
+ <number>0</number>
+ </property>
</widget>
</item>
- <item>
+ <item row="3" column="0" colspan="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
@@ -96,6 +110,11 @@
<header location="global" >KIntNumInput</header>
</customwidget>
</customwidgets>
+ <tabstops>
+ <tabstop>varType</tabstop>
+ <tabstop>varObject</tabstop>
+ <tabstop>varCost</tabstop>
+ </tabstops>
<resources/>
<connections/>
</ui>