diff options
Diffstat (limited to 'pokemodr/gui')
-rw-r--r-- | pokemodr/gui/itemtype.ui | 21 | ||||
-rw-r--r-- | pokemodr/gui/maptrainer.ui | 119 | ||||
-rw-r--r-- | pokemodr/gui/pokemod.ui | 3 | ||||
-rw-r--r-- | pokemodr/gui/rules.ui | 3 | ||||
-rw-r--r-- | pokemodr/gui/species.ui | 56 | ||||
-rw-r--r-- | pokemodr/gui/tile.ui | 3 | ||||
-rw-r--r-- | pokemodr/gui/trainer.ui | 150 | ||||
-rw-r--r-- | pokemodr/gui/type.ui | 6 |
8 files changed, 229 insertions, 132 deletions
diff --git a/pokemodr/gui/itemtype.ui b/pokemodr/gui/itemtype.ui index 038cc389..10e44be8 100644 --- a/pokemodr/gui/itemtype.ui +++ b/pokemodr/gui/itemtype.ui @@ -85,10 +85,31 @@ </layout> </widget> </item> + <item> + <widget class="QGroupBox" name="boxCount" > + <property name="title" > + <string>Count</string> + </property> + <layout class="QHBoxLayout" > + <item> + <widget class="KComboBox" name="varCount" > + <property name="toolTip" > + <string>The way the items count towards the storage limit</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> </layout> </widget> <customwidgets> <customwidget> + <class>KComboBox</class> + <extends>QComboBox</extends> + <header>kcombobox.h</header> + </customwidget> + <customwidget> <class>KIntNumInput</class> <extends>QWidget</extends> <header>knuminput.h</header> diff --git a/pokemodr/gui/maptrainer.ui b/pokemodr/gui/maptrainer.ui index 15b53c17..a573c906 100644 --- a/pokemodr/gui/maptrainer.ui +++ b/pokemodr/gui/maptrainer.ui @@ -48,6 +48,22 @@ </widget> </item> <item> + <widget class="QGroupBox" name="boxTrainerClass" > + <property name="title" > + <string>Trainer Class</string> + </property> + <layout class="QHBoxLayout" > + <item> + <widget class="KComboBox" name="varTrainerClass" > + <property name="toolTip" > + <string>The base class of the trainer</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> <widget class="QGroupBox" name="boxCoordinate" > <property name="title" > <string>Coordinate</string> @@ -83,42 +99,6 @@ </widget> </item> <item> - <widget class="QGroupBox" name="boxSkin" > - <property name="title" > - <string>Skin</string> - </property> - <layout class="QHBoxLayout" > - <item> - <spacer> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - <item> - <widget class="KPushButton" name="varSkin" > - <property name="minimumSize" > - <size> - <width>192</width> - <height>128</height> - </size> - </property> - <property name="toolTip" > - <string>Skin of the trainer</string> - </property> - </widget> - </item> - <item> - <spacer> - <property name="orientation" > - <enum>Qt::Horizontal</enum> - </property> - </spacer> - </item> - </layout> - </widget> - </item> - <item> <widget class="QGroupBox" name="boxSight" > <property name="title" > <string>Sight</string> @@ -173,22 +153,6 @@ </widget> </item> <item> - <widget class="QGroupBox" name="boxAI" > - <property name="title" > - <string>AI</string> - </property> - <layout class="QHBoxLayout" > - <item> - <widget class="KComboBox" name="varAI" > - <property name="toolTip" > - <string>The AI scheme used</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> <widget class="QGroupBox" name="boxAppearFlag" > <property name="title" > <string>Appear Flag</string> @@ -223,55 +187,14 @@ <item> <widget class="QGroupBox" name="boxDialogs" > <property name="title" > - <string>Dialogs</string> + <string>Dialog</string> </property> - <layout class="QVBoxLayout" > - <item> - <widget class="QGroupBox" name="boxOverworldDialog" > - <property name="title" > - <string>Overworld</string> - </property> - <layout class="QHBoxLayout" > - <item> - <widget class="KComboBox" name="varOverworlDialog" > - <property name="toolTip" > - <string>The dialog used when talked to in the overworld</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="boxLoseDialog" > - <property name="title" > - <string>Lose</string> - </property> - <layout class="QHBoxLayout" > - <item> - <widget class="KComboBox" name="varLoseDialog" > - <property name="toolTip" > - <string>The dialog used when the trainer loses</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> + <layout class="QHBoxLayout" > <item> - <widget class="QGroupBox" name="boxWinDialog" > - <property name="title" > - <string>Win</string> + <widget class="KComboBox" name="varDialog" > + <property name="toolTip" > + <string>The dialog used when the trainer is encountered</string> </property> - <layout class="QHBoxLayout" > - <item> - <widget class="KComboBox" name="varWinDialog" > - <property name="toolTip" > - <string>The dialog used when the trainer wins</string> - </property> - </widget> - </item> - </layout> </widget> </item> </layout> diff --git a/pokemodr/gui/pokemod.ui b/pokemodr/gui/pokemod.ui index 6942e581..846794d3 100644 --- a/pokemodr/gui/pokemod.ui +++ b/pokemodr/gui/pokemod.ui @@ -414,9 +414,6 @@ </item> <item> <widget class="QGroupBox" name="boxEffectiveness" > - <property name="title" > - <string/> - </property> <layout class="QVBoxLayout" > <item> <widget class="KIntNumInput" name="varEffectivenessNum" > diff --git a/pokemodr/gui/rules.ui b/pokemodr/gui/rules.ui index 63037d39..af06d33a 100644 --- a/pokemodr/gui/rules.ui +++ b/pokemodr/gui/rules.ui @@ -55,9 +55,6 @@ <property name="toolTip" > <string>If checked, breeding will be enabled</string> </property> - <property name="statusTip" > - <string/> - </property> <property name="text" > <string>Breeding</string> </property> diff --git a/pokemodr/gui/species.ui b/pokemodr/gui/species.ui index 76b070e6..37db392a 100644 --- a/pokemodr/gui/species.ui +++ b/pokemodr/gui/species.ui @@ -8,9 +8,6 @@ <layout class="QHBoxLayout" > <item> <widget class="KPushButton" name="buttonApply" > - <property name="toolTip" > - <string/> - </property> <property name="text" > <string>&Apply</string> </property> @@ -21,9 +18,6 @@ </item> <item> <widget class="KPushButton" name="buttonDiscard" > - <property name="toolTip" > - <string/> - </property> <property name="text" > <string>&Discard</string> </property> @@ -101,9 +95,6 @@ </item> <item> <widget class="KIntNumInput" name="varRunChanceNum" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Numerator</string> </property> @@ -114,9 +105,45 @@ </item> <item> <widget class="KIntNumInput" name="varRunChanceDenom" > + <property name="label" > + <string>Denominator</string> + </property> + <property name="minimum" > + <number>1</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="boxFleeChance" > + <property name="title" > + <string>Flee Chance</string> + </property> + <layout class="QVBoxLayout" > + <item> + <widget class="KLineEdit" name="varFleeChance" > <property name="toolTip" > - <string/> + <string>Chance that the player can flee from a wild battle</string> </property> + <property name="readOnly" > + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="KIntNumInput" name="varFleeChanceNum" > + <property name="label" > + <string>Numerator</string> + </property> + <property name="minimum" > + <number>0</number> + </property> + </widget> + </item> + <item> + <widget class="KIntNumInput" name="varFleeChanceDenom" > <property name="label" > <string>Denominator</string> </property> @@ -156,9 +183,6 @@ </item> <item> <widget class="KIntNumInput" name="varItemChanceDenom" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Denominator</string> </property> @@ -436,9 +460,6 @@ </item> <item> <widget class="KIntNumInput" name="varGenderChanceNum" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Numerator</string> </property> @@ -449,9 +470,6 @@ </item> <item> <widget class="KIntNumInput" name="varGenderChanceDenom" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Denominator</string> </property> diff --git a/pokemodr/gui/tile.ui b/pokemodr/gui/tile.ui index 1f6138b8..7ce875b7 100644 --- a/pokemodr/gui/tile.ui +++ b/pokemodr/gui/tile.ui @@ -39,9 +39,6 @@ <property name="toolTip" > <string>Name of the tile</string> </property> - <property name="text" > - <string/> - </property> <property name="showClearButton" stdset="0" > <bool>true</bool> </property> diff --git a/pokemodr/gui/trainer.ui b/pokemodr/gui/trainer.ui new file mode 100644 index 00000000..7c5bc964 --- /dev/null +++ b/pokemodr/gui/trainer.ui @@ -0,0 +1,150 @@ +<ui version="4.0" > + <class>formTrainer</class> + <widget class="QWidget" name="formTrainer" > + <layout class="QVBoxLayout" > + <item> + <widget class="QGroupBox" name="boxButtons" > + <layout class="QHBoxLayout" > + <item> + <widget class="KPushButton" name="buttonApply" > + <property name="text" > + <string>&Apply</string> + </property> + <property name="shortcut" > + <string>Ctrl+Return</string> + </property> + </widget> + </item> + <item> + <widget class="KPushButton" name="buttonDiscard" > + <property name="text" > + <string>&Discard</string> + </property> + <property name="shortcut" > + <string>Esc</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="boxName" > + <property name="title" > + <string>Name</string> + </property> + <layout class="QHBoxLayout" > + <item> + <widget class="KLineEdit" name="varName" > + <property name="toolTip" > + <string>The name of the trainer type</string> + </property> + <property name="showClearButton" stdset="0" > + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="KIntNumInput" name="varMoneyFactor" > + <property name="toolTip" > + <string>Multiplier for the money earned from the battle when won</string> + </property> + <property name="label" > + <string>Money Factor</string> + </property> + <property name="minimum" > + <number>0</number> + </property> + </widget> + </item> + <item> + <widget class="QGroupBox" name="boxSkin" > + <property name="title" > + <string>Skin</string> + </property> + <layout class="QHBoxLayout" > + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + <item> + <widget class="KPushButton" name="varSkin" > + <property name="minimumSize" > + <size> + <width>192</width> + <height>128</height> + </size> + </property> + <property name="toolTip" > + <string>Skin of the trainer</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="boxAI" > + <property name="title" > + <string>AI</string> + </property> + <layout class="QHBoxLayout" > + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + <item> + <widget class="KPushButton" name="varAI" > + <property name="toolTip" > + <string>The AI profile used</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>KIntNumInput</class> + <extends>QWidget</extends> + <header>knuminput.h</header> + </customwidget> + <customwidget> + <class>KLineEdit</class> + <extends>QLineEdit</extends> + <header>klineedit.h</header> + </customwidget> + <customwidget> + <class>KPushButton</class> + <extends>QPushButton</extends> + <header>kpushbutton.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> diff --git a/pokemodr/gui/type.ui b/pokemodr/gui/type.ui index f6ba148d..404e6925 100644 --- a/pokemodr/gui/type.ui +++ b/pokemodr/gui/type.ui @@ -65,9 +65,6 @@ </item> <item> <widget class="KIntNumInput" name="varSTABNum" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Numerator</string> </property> @@ -78,9 +75,6 @@ </item> <item> <widget class="KIntNumInput" name="varSTABDenom" > - <property name="toolTip" > - <string/> - </property> <property name="label" > <string>Denominator</string> </property> |