qnetdice

diff ui/dicedialog.ui @ 0:0e9c16d77e47

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 19 Dec 2013 13:34:40 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ui/dicedialog.ui	Thu Dec 19 13:34:40 2013 +0200
     1.3 @@ -0,0 +1,212 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<ui version="4.0">
     1.6 + <class>DiceDialog</class>
     1.7 + <widget class="QDialog" name="DiceDialog">
     1.8 +  <property name="geometry">
     1.9 +   <rect>
    1.10 +    <x>0</x>
    1.11 +    <y>0</y>
    1.12 +    <width>581</width>
    1.13 +    <height>384</height>
    1.14 +   </rect>
    1.15 +  </property>
    1.16 +  <property name="windowTitle">
    1.17 +   <string>Dialog</string>
    1.18 +  </property>
    1.19 +  <layout class="QVBoxLayout" name="verticalLayout">
    1.20 +   <item>
    1.21 +    <layout class="QHBoxLayout" name="horizontalLayout">
    1.22 +     <item>
    1.23 +      <spacer name="horizontalSpacer">
    1.24 +       <property name="orientation">
    1.25 +        <enum>Qt::Horizontal</enum>
    1.26 +       </property>
    1.27 +       <property name="sizeHint" stdset="0">
    1.28 +        <size>
    1.29 +         <width>40</width>
    1.30 +         <height>20</height>
    1.31 +        </size>
    1.32 +       </property>
    1.33 +      </spacer>
    1.34 +     </item>
    1.35 +     <item>
    1.36 +      <widget class="QSpinBox" name="spin_count">
    1.37 +       <property name="toolTip">
    1.38 +        <string>number of dice</string>
    1.39 +       </property>
    1.40 +       <property name="minimum">
    1.41 +        <number>1</number>
    1.42 +       </property>
    1.43 +       <property name="maximum">
    1.44 +        <number>100</number>
    1.45 +       </property>
    1.46 +      </widget>
    1.47 +     </item>
    1.48 +     <item>
    1.49 +      <widget class="QComboBox" name="combo_type">
    1.50 +       <property name="cursor">
    1.51 +        <cursorShape>ArrowCursor</cursorShape>
    1.52 +       </property>
    1.53 +       <property name="toolTip">
    1.54 +        <string>type of dice</string>
    1.55 +       </property>
    1.56 +       <property name="editable">
    1.57 +        <bool>true</bool>
    1.58 +       </property>
    1.59 +       <property name="currentIndex">
    1.60 +        <number>4</number>
    1.61 +       </property>
    1.62 +       <item>
    1.63 +        <property name="text">
    1.64 +         <string>d4</string>
    1.65 +        </property>
    1.66 +       </item>
    1.67 +       <item>
    1.68 +        <property name="text">
    1.69 +         <string>d6</string>
    1.70 +        </property>
    1.71 +       </item>
    1.72 +       <item>
    1.73 +        <property name="text">
    1.74 +         <string>d8</string>
    1.75 +        </property>
    1.76 +       </item>
    1.77 +       <item>
    1.78 +        <property name="text">
    1.79 +         <string>d12</string>
    1.80 +        </property>
    1.81 +       </item>
    1.82 +       <item>
    1.83 +        <property name="text">
    1.84 +         <string>d20</string>
    1.85 +        </property>
    1.86 +       </item>
    1.87 +       <item>
    1.88 +        <property name="text">
    1.89 +         <string>d100</string>
    1.90 +        </property>
    1.91 +       </item>
    1.92 +      </widget>
    1.93 +     </item>
    1.94 +     <item>
    1.95 +      <spacer name="horizontalSpacer_2">
    1.96 +       <property name="orientation">
    1.97 +        <enum>Qt::Horizontal</enum>
    1.98 +       </property>
    1.99 +       <property name="sizeHint" stdset="0">
   1.100 +        <size>
   1.101 +         <width>40</width>
   1.102 +         <height>20</height>
   1.103 +        </size>
   1.104 +       </property>
   1.105 +      </spacer>
   1.106 +     </item>
   1.107 +    </layout>
   1.108 +   </item>
   1.109 +   <item>
   1.110 +    <spacer name="verticalSpacer_2">
   1.111 +     <property name="orientation">
   1.112 +      <enum>Qt::Vertical</enum>
   1.113 +     </property>
   1.114 +     <property name="sizeHint" stdset="0">
   1.115 +      <size>
   1.116 +       <width>20</width>
   1.117 +       <height>106</height>
   1.118 +      </size>
   1.119 +     </property>
   1.120 +    </spacer>
   1.121 +   </item>
   1.122 +   <item>
   1.123 +    <layout class="QHBoxLayout" name="horizontalLayout_2">
   1.124 +     <item>
   1.125 +      <spacer name="horizontalSpacer_3">
   1.126 +       <property name="orientation">
   1.127 +        <enum>Qt::Horizontal</enum>
   1.128 +       </property>
   1.129 +       <property name="sizeHint" stdset="0">
   1.130 +        <size>
   1.131 +         <width>40</width>
   1.132 +         <height>20</height>
   1.133 +        </size>
   1.134 +       </property>
   1.135 +      </spacer>
   1.136 +     </item>
   1.137 +     <item>
   1.138 +      <widget class="QLineEdit" name="tx_dice"/>
   1.139 +     </item>
   1.140 +     <item>
   1.141 +      <spacer name="horizontalSpacer_4">
   1.142 +       <property name="orientation">
   1.143 +        <enum>Qt::Horizontal</enum>
   1.144 +       </property>
   1.145 +       <property name="sizeHint" stdset="0">
   1.146 +        <size>
   1.147 +         <width>40</width>
   1.148 +         <height>20</height>
   1.149 +        </size>
   1.150 +       </property>
   1.151 +      </spacer>
   1.152 +     </item>
   1.153 +    </layout>
   1.154 +   </item>
   1.155 +   <item>
   1.156 +    <spacer name="verticalSpacer">
   1.157 +     <property name="orientation">
   1.158 +      <enum>Qt::Vertical</enum>
   1.159 +     </property>
   1.160 +     <property name="sizeHint" stdset="0">
   1.161 +      <size>
   1.162 +       <width>20</width>
   1.163 +       <height>106</height>
   1.164 +      </size>
   1.165 +     </property>
   1.166 +    </spacer>
   1.167 +   </item>
   1.168 +   <item>
   1.169 +    <widget class="QDialogButtonBox" name="buttonBox">
   1.170 +     <property name="orientation">
   1.171 +      <enum>Qt::Horizontal</enum>
   1.172 +     </property>
   1.173 +     <property name="standardButtons">
   1.174 +      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
   1.175 +     </property>
   1.176 +    </widget>
   1.177 +   </item>
   1.178 +  </layout>
   1.179 + </widget>
   1.180 + <resources/>
   1.181 + <connections>
   1.182 +  <connection>
   1.183 +   <sender>buttonBox</sender>
   1.184 +   <signal>accepted()</signal>
   1.185 +   <receiver>DiceDialog</receiver>
   1.186 +   <slot>accept()</slot>
   1.187 +   <hints>
   1.188 +    <hint type="sourcelabel">
   1.189 +     <x>227</x>
   1.190 +     <y>335</y>
   1.191 +    </hint>
   1.192 +    <hint type="destinationlabel">
   1.193 +     <x>157</x>
   1.194 +     <y>224</y>
   1.195 +    </hint>
   1.196 +   </hints>
   1.197 +  </connection>
   1.198 +  <connection>
   1.199 +   <sender>buttonBox</sender>
   1.200 +   <signal>rejected()</signal>
   1.201 +   <receiver>DiceDialog</receiver>
   1.202 +   <slot>reject()</slot>
   1.203 +   <hints>
   1.204 +    <hint type="sourcelabel">
   1.205 +     <x>295</x>
   1.206 +     <y>335</y>
   1.207 +    </hint>
   1.208 +    <hint type="destinationlabel">
   1.209 +     <x>286</x>
   1.210 +     <y>224</y>
   1.211 +    </hint>
   1.212 +   </hints>
   1.213 +  </connection>
   1.214 + </connections>
   1.215 +</ui>