]> ruin.nu Git - eonsl.git/commitdiff
The old widget was broke, this is the old kdevdlg version.
authorMichael Andreen <harv@ruin.nu>
Wed, 27 Dec 2000 20:19:16 +0000 (20:19 +0000)
committerMichael Andreen <harv@ruin.nu>
Wed, 27 Dec 2000 20:19:16 +0000 (20:19 +0000)
TODO: Fix all variable names, accelerators and so on.

eonsl/widgets/creatureedit.ui

index d5abdf3b3980c66ec8fc394f780f34d110f8440d..6a8551397cd80599561f36dd05f0afc4fd2ca625 100644 (file)
 <!DOCTYPE UI><UI>
-<class>CreatureEdit</class>
-<comment>This class edits a CCreature object.
-I know that the user interface suck, but it's easy fast and easy..</comment>
-<author>Michael Andreen &lt;whale@linux.nu&gt;</author>
+<class>NoName</class>
 <widget>
-    <class>QWidget</class>
+    <class>QDialog</class>
     <property stdset="1">
         <name>name</name>
-        <cstring>CreatureEdit</cstring>
+        <cstring>NoName</cstring>
     </property>
     <property stdset="1">
         <name>geometry</name>
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>320</width>
-            <height>323</height>
+            <width>426</width>
+            <height>420</height>
         </rect>
     </property>
     <property stdset="1">
         <name>caption</name>
-        <string>Form1</string>
+        <string>NoName</string>
     </property>
-    <grid>
+    <widget>
+        <class>QButtonGroup</class>
         <property stdset="1">
-            <name>margin</name>
-            <number>11</number>
+            <name>name</name>
+            <cstring>QButtonGroup_2</cstring>
         </property>
         <property stdset="1">
-            <name>spacing</name>
-            <number>6</number>
+            <name>geometry</name>
+            <rect>
+                <x>170</x>
+                <y>15</y>
+                <width>140</width>
+                <height>112</height>
+            </rect>
         </property>
-        <widget row="0"  column="0" >
-            <class>QLayoutWidget</class>
+        <property stdset="1">
+            <name>title</name>
+            <string>Färdigheter</string>
+        </property>
+        <vbox>
             <property stdset="1">
-                <name>name</name>
-                <cstring>Layout2</cstring>
+                <name>margin</name>
+                <number>11</number>
             </property>
-            <vbox>
+            <property stdset="1">
+                <name>spacing</name>
+                <number>6</number>
+            </property>
+            <widget>
+                <class>QComboBox</class>
                 <property stdset="1">
-                    <name>margin</name>
-                    <number>0</number>
+                    <name>name</name>
+                    <cstring>ComboBox19</cstring>
                 </property>
+            </widget>
+            <widget>
+                <class>QComboBox</class>
                 <property stdset="1">
-                    <name>spacing</name>
-                    <number>6</number>
+                    <name>name</name>
+                    <cstring>FardigheterCombo</cstring>
                 </property>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox1</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Strängar</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>11</number>
-                        </property>
-                        <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
-                        </property>
-                        <widget>
-                            <class>QComboBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>StringCombo</cstring>
-                            </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>Olika strängar</string>
-                            </property>
-                            <property>
-                                <name>whatsThis</name>
-                                <string>Här är en lista med olika textvärden</string>
-                            </property>
-                        </widget>
-                        <widget>
-                            <class>QLineEdit</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>StringEdit</cstring>
-                            </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>Skriv in text för vald sträng</string>
-                            </property>
-                        </widget>
-                    </vbox>
-                </widget>
-                <spacer>
-                    <property>
-                        <name>name</name>
-                        <cstring>Spacer4</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Vertical</enum>
-                    </property>
-                    <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
-                    </property>
-                    <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox5</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Attributer mm</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>11</number>
-                        </property>
-                        <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
-                        </property>
-                        <widget>
-                            <class>QComboBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>AttributeCombo</cstring>
-                            </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>Lista på attributer, karaktärsdrag och annat som gestaltas i decimala tal...</string>
-                            </property>
-                            <property>
-                                <name>whatsThis</name>
-                                <string>Välj värde och skriv in ett tal i rutan under ...</string>
-                            </property>
-                        </widget>
-                        <widget>
-                            <class>QSpinBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>AttributeSpin</cstring>
-                            </property>
-                        </widget>
-                    </vbox>
-                </widget>
-                <spacer>
-                    <property>
-                        <name>name</name>
-                        <cstring>Spacer5</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Vertical</enum>
-                    </property>
-                    <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
-                    </property>
-                    <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox2</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Egenskaper</string>
-                    </property>
-                    <property>
-                        <name>toolTip</name>
-                        <string>Lista med olika fysiska- och mentala egenskaper samt nackdelar.</string>
-                    </property>
-                    <property>
-                        <name>whatsThis</name>
-                        <string>Välj en egenskap och markera "Har egenskap" för att visa att karaktären har den..</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>11</number>
-                        </property>
-                        <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
-                        </property>
-                        <widget>
-                            <class>QComboBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>QualityCombo</cstring>
-                            </property>
-                        </widget>
-                        <widget>
-                            <class>QCheckBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>QualityCheck</cstring>
-                            </property>
-                            <property stdset="1">
-                                <name>text</name>
-                                <string>Har egenskap</string>
-                            </property>
-                        </widget>
-                    </vbox>
-                </widget>
-            </vbox>
-        </widget>
-        <widget row="0"  column="2" >
-            <class>QLayoutWidget</class>
+                <property stdset="1">
+                    <name>insertionPolicy</name>
+                    <enum>AtTop</enum>
+                </property>
+            </widget>
+            <widget>
+                <class>QPushButton</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>FardigheterButton</cstring>
+                </property>
+                <property stdset="1">
+                    <name>text</name>
+                    <string>Ändra färdighet</string>
+                </property>
+            </widget>
+        </vbox>
+    </widget>
+    <widget>
+        <class>QGroupBox</class>
+        <property stdset="1">
+            <name>name</name>
+            <cstring>QGroupBox_1</cstring>
+        </property>
+        <property stdset="1">
+            <name>geometry</name>
+            <rect>
+                <x>10</x>
+                <y>135</y>
+                <width>110</width>
+                <height>81</height>
+            </rect>
+        </property>
+        <property stdset="1">
+            <name>title</name>
+            <string>Attributer mm</string>
+        </property>
+        <vbox>
+            <property stdset="1">
+                <name>margin</name>
+                <number>11</number>
+            </property>
+            <property stdset="1">
+                <name>spacing</name>
+                <number>6</number>
+            </property>
+            <widget>
+                <class>QComboBox</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>AttributCombo</cstring>
+                </property>
+                <property stdset="1">
+                    <name>insertionPolicy</name>
+                    <enum>AtTop</enum>
+                </property>
+            </widget>
+            <widget>
+                <class>QSpinBox</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>AttributSpin</cstring>
+                </property>
+                <property stdset="1">
+                    <name>maxValue</name>
+                    <number>1000</number>
+                </property>
+            </widget>
+        </vbox>
+    </widget>
+    <widget>
+        <class>QGroupBox</class>
+        <property stdset="1">
+            <name>name</name>
+            <cstring>QGroupBox_3</cstring>
+        </property>
+        <property stdset="1">
+            <name>geometry</name>
+            <rect>
+                <x>175</x>
+                <y>145</y>
+                <width>127</width>
+                <height>84</height>
+            </rect>
+        </property>
+        <property stdset="1">
+            <name>title</name>
+            <string>Vapen</string>
+        </property>
+        <vbox>
+            <property stdset="1">
+                <name>margin</name>
+                <number>11</number>
+            </property>
+            <property stdset="1">
+                <name>spacing</name>
+                <number>6</number>
+            </property>
+            <widget>
+                <class>QComboBox</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>VapenCombo</cstring>
+                </property>
+                <property stdset="1">
+                    <name>insertionPolicy</name>
+                    <enum>AtTop</enum>
+                </property>
+            </widget>
+            <widget>
+                <class>QPushButton</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>VapenButton</cstring>
+                </property>
+                <property stdset="1">
+                    <name>text</name>
+                    <string>Ändra vapen</string>
+                </property>
+            </widget>
+        </vbox>
+    </widget>
+    <widget>
+        <class>QGroupBox</class>
+        <property stdset="1">
+            <name>name</name>
+            <cstring>QGroupBox_2</cstring>
+        </property>
+        <property stdset="1">
+            <name>geometry</name>
+            <rect>
+                <x>10</x>
+                <y>30</y>
+                <width>132</width>
+                <height>80</height>
+            </rect>
+        </property>
+        <property stdset="1">
+            <name>title</name>
+            <string>Strängar</string>
+        </property>
+        <vbox>
+            <property stdset="1">
+                <name>margin</name>
+                <number>11</number>
+            </property>
+            <property stdset="1">
+                <name>spacing</name>
+                <number>6</number>
+            </property>
+            <widget>
+                <class>QComboBox</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>StringCombo</cstring>
+                </property>
+                <property stdset="1">
+                    <name>insertionPolicy</name>
+                    <enum>AtTop</enum>
+                </property>
+            </widget>
+            <widget>
+                <class>QLineEdit</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>StringLine</cstring>
+                </property>
+            </widget>
+        </vbox>
+    </widget>
+    <widget>
+        <class>QGroupBox</class>
+        <property stdset="1">
+            <name>name</name>
+            <cstring>QGroupBox_4</cstring>
+        </property>
+        <property stdset="1">
+            <name>geometry</name>
+            <rect>
+                <x>170</x>
+                <y>240</y>
+                <width>120</width>
+                <height>90</height>
+            </rect>
+        </property>
+        <property stdset="1">
+            <name>title</name>
+            <string>Rustning</string>
+        </property>
+        <widget>
+            <class>QPushButton</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>Layout1</cstring>
+                <cstring>RustningButton</cstring>
+            </property>
+            <property stdset="1">
+                <name>geometry</name>
+                <rect>
+                    <x>10</x>
+                    <y>50</y>
+                    <width>100</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property stdset="1">
+                <name>text</name>
+                <string>Ändra rustning</string>
+            </property>
+        </widget>
+    </widget>
+    <widget>
+        <class>QButtonGroup</class>
+        <property stdset="1">
+            <name>name</name>
+            <cstring>QButtonGroup_1</cstring>
+        </property>
+        <property stdset="1">
+            <name>geometry</name>
+            <rect>
+                <x>10</x>
+                <y>235</y>
+                <width>123</width>
+                <height>77</height>
+            </rect>
+        </property>
+        <property stdset="1">
+            <name>title</name>
+            <string>Egenskaper</string>
+        </property>
+        <vbox>
+            <property stdset="1">
+                <name>margin</name>
+                <number>11</number>
             </property>
-            <vbox>
+            <property stdset="1">
+                <name>spacing</name>
+                <number>6</number>
+            </property>
+            <widget>
+                <class>QComboBox</class>
+                <property stdset="1">
+                    <name>name</name>
+                    <cstring>EgenskaperCombo</cstring>
+                </property>
+                <property stdset="1">
+                    <name>insertionPolicy</name>
+                    <enum>AtTop</enum>
+                </property>
+            </widget>
+            <widget>
+                <class>QCheckBox</class>
                 <property stdset="1">
-                    <name>margin</name>
-                    <number>0</number>
+                    <name>name</name>
+                    <cstring>EgenskaperCheck</cstring>
                 </property>
                 <property stdset="1">
-                    <name>spacing</name>
-                    <number>6</number>
+                    <name>text</name>
+                    <string>Har egenskap</string>
                 </property>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox4</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Färdigheter</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>11</number>
-                        </property>
-                        <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
-                        </property>
-                        <widget>
-                            <class>QComboBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>SkillCombo</cstring>
-                            </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>Lista med färdigheter</string>
-                            </property>
-                            <property>
-                                <name>whatsThis</name>
-                                <string>Välj färdighet och tryck "Redigera färdighet" för att ändra FC mm</string>
-                            </property>
-                        </widget>
-                        <widget>
-                            <class>QPushButton</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>SkillButton</cstring>
-                            </property>
-                            <property stdset="1">
-                                <name>text</name>
-                                <string>Redigera &amp;färdighet</string>
-                            </property>
-                        </widget>
-                    </vbox>
-                </widget>
-                <spacer>
-                    <property>
-                        <name>name</name>
-                        <cstring>Spacer1</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Vertical</enum>
-                    </property>
-                    <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
-                    </property>
-                    <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox3</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Vapen</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-                            <number>11</number>
-                        </property>
-                        <property stdset="1">
-                            <name>spacing</name>
-                            <number>6</number>
-                        </property>
-                        <widget>
-                            <class>QComboBox</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>WeaponCombo</cstring>
-                            </property>
-                            <property>
-                                <name>toolTip</name>
-                                <string>Lista med de vapen som karaktären har med sig..</string>
-                            </property>
-                            <property>
-                                <name>whatsThis</name>
-                                <string>Markera vapnet och tryck på "Redgera vapen" för att redigera valt vapen</string>
-                            </property>
-                        </widget>
-                        <widget>
-                            <class>QPushButton</class>
-                            <property stdset="1">
-                                <name>name</name>
-                                <cstring>WeaponButton</cstring>
-                            </property>
-                            <property stdset="1">
-                                <name>text</name>
-                                <string>Redigera &amp;vapen</string>
-                            </property>
-                        </widget>
-                    </vbox>
-                </widget>
-                <spacer>
-                    <property>
-                        <name>name</name>
-                        <cstring>Spacer3</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>orientation</name>
-                        <enum>Vertical</enum>
-                    </property>
-                    <property stdset="1">
-                        <name>sizeType</name>
-                        <enum>Expanding</enum>
-                    </property>
-                    <property>
-                        <name>sizeHint</name>
-                        <size>
-                            <width>20</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-                <widget>
-                    <class>QGroupBox</class>
-                    <property stdset="1">
-                        <name>name</name>
-                        <cstring>GroupBox6</cstring>
-                    </property>
-                    <property stdset="1">
-                        <name>title</name>
-                        <string>Rustning</string>
-                    </property>
-                    <vbox>
-                        <property stdset="1">
-                            <name>margin</name>
-      
\ No newline at end of file
+            </widget>
+        </vbox>
+    </widget>
+</widget>
+</UI>