qnetdice

view ui/mainwin.ui @ 4:7d28bef3fbca

ops, forgot to add +1 to random numbers in roll.cc to make them 1-based
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Dec 2013 17:40:34 +0200
parents 0e9c16d77e47
children
line source
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>697</width>
10 <height>530</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>MainWindow</string>
15 </property>
16 <widget class="QWidget" name="centralWidget">
17 <layout class="QVBoxLayout" name="verticalLayout">
18 <item>
19 <layout class="QHBoxLayout" name="horizontalLayout">
20 <item>
21 <widget class="QPushButton" name="bn_add">
22 <property name="text">
23 <string>Add</string>
24 </property>
25 <property name="icon">
26 <iconset resource="../qnetdice.qrc">
27 <normaloff>:/data/icons/edit-add-2.png</normaloff>:/data/icons/edit-add-2.png</iconset>
28 </property>
29 </widget>
30 </item>
31 <item>
32 <widget class="QPushButton" name="bn_clear">
33 <property name="text">
34 <string>Clear</string>
35 </property>
36 <property name="icon">
37 <iconset resource="../qnetdice.qrc">
38 <normaloff>:/data/icons/edit-clear-2.png</normaloff>:/data/icons/edit-clear-2.png</iconset>
39 </property>
40 </widget>
41 </item>
42 <item>
43 <spacer name="horizontalSpacer_2">
44 <property name="orientation">
45 <enum>Qt::Horizontal</enum>
46 </property>
47 <property name="sizeHint" stdset="0">
48 <size>
49 <width>40</width>
50 <height>20</height>
51 </size>
52 </property>
53 </spacer>
54 </item>
55 <item>
56 <widget class="QPushButton" name="bn_roll_all">
57 <property name="text">
58 <string>Roll all</string>
59 </property>
60 </widget>
61 </item>
62 </layout>
63 </item>
64 <item>
65 <widget class="QScrollArea" name="sarea_main">
66 <property name="widgetResizable">
67 <bool>true</bool>
68 </property>
69 <widget class="QWidget" name="sarea_main_cont">
70 <property name="geometry">
71 <rect>
72 <x>0</x>
73 <y>0</y>
74 <width>677</width>
75 <height>383</height>
76 </rect>
77 </property>
78 </widget>
79 </widget>
80 </item>
81 </layout>
82 </widget>
83 <widget class="QMenuBar" name="menubar">
84 <property name="geometry">
85 <rect>
86 <x>0</x>
87 <y>0</y>
88 <width>697</width>
89 <height>23</height>
90 </rect>
91 </property>
92 <widget class="QMenu" name="menu_file">
93 <property name="title">
94 <string>&amp;File</string>
95 </property>
96 <addaction name="action_start_server"/>
97 <addaction name="action_connect"/>
98 <addaction name="separator"/>
99 <addaction name="action_add_die"/>
100 <addaction name="action_add_dice"/>
101 <addaction name="separator"/>
102 <addaction name="action_quit"/>
103 </widget>
104 <widget class="QMenu" name="menu_help">
105 <property name="title">
106 <string>&amp;Help</string>
107 </property>
108 <addaction name="action_about"/>
109 </widget>
110 <addaction name="menu_file"/>
111 <addaction name="menu_help"/>
112 </widget>
113 <widget class="QToolBar" name="toolbar">
114 <attribute name="toolBarArea">
115 <enum>TopToolBarArea</enum>
116 </attribute>
117 <attribute name="toolBarBreak">
118 <bool>false</bool>
119 </attribute>
120 <addaction name="action_start_server"/>
121 <addaction name="action_connect"/>
122 <addaction name="action_add_die"/>
123 </widget>
124 <widget class="QStatusBar" name="stautsbar"/>
125 <action name="action_start_server">
126 <property name="text">
127 <string>Start &amp;Server</string>
128 </property>
129 </action>
130 <action name="action_connect">
131 <property name="text">
132 <string>&amp;Connect</string>
133 </property>
134 </action>
135 <action name="action_quit">
136 <property name="text">
137 <string>&amp;Quit</string>
138 </property>
139 </action>
140 <action name="action_about">
141 <property name="text">
142 <string>&amp;About</string>
143 </property>
144 </action>
145 <action name="action_add_die">
146 <property name="icon">
147 <iconset resource="../qnetdice.qrc">
148 <normaloff>:/data/icons/edit-add-2.png</normaloff>:/data/icons/edit-add-2.png</iconset>
149 </property>
150 <property name="text">
151 <string>&amp;Add die</string>
152 </property>
153 </action>
154 <action name="action_add_dice">
155 <property name="text">
156 <string>Add &amp;dice ...</string>
157 </property>
158 </action>
159 </widget>
160 <layoutdefault spacing="6" margin="11"/>
161 <resources>
162 <include location="../qnetdice.qrc"/>
163 </resources>
164 <connections/>
165 </ui>