combjs

view gui/main.ui @ 1:dd02002227a2

- added a few commandline arguments to combjs - trying to make a gui frontend
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 14 Jul 2011 15:40:20 +0300
parents
children 4e8f2bbe8426
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>796</width>
10 <height>612</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Joystick Combiner</string>
15 </property>
16 <widget class="QWidget" name="centralwidget">
17 <layout class="QVBoxLayout" name="verticalLayout_4">
18 <item>
19 <widget class="QSplitter" name="splitter_3">
20 <property name="orientation">
21 <enum>Qt::Horizontal</enum>
22 </property>
23 <widget class="QSplitter" name="splitter_2">
24 <property name="orientation">
25 <enum>Qt::Vertical</enum>
26 </property>
27 <widget class="QGroupBox" name="groupBox">
28 <property name="title">
29 <string>Joystick devices</string>
30 </property>
31 <layout class="QVBoxLayout" name="verticalLayout_3">
32 <item>
33 <widget class="QListWidget" name="list_js">
34 <property name="dragEnabled">
35 <bool>true</bool>
36 </property>
37 <property name="dragDropMode">
38 <enum>QAbstractItemView::DragDrop</enum>
39 </property>
40 </widget>
41 </item>
42 <item>
43 <layout class="QHBoxLayout" name="horizontalLayout_3">
44 <item>
45 <spacer name="horizontalSpacer_2">
46 <property name="orientation">
47 <enum>Qt::Horizontal</enum>
48 </property>
49 <property name="sizeHint" stdset="0">
50 <size>
51 <width>40</width>
52 <height>20</height>
53 </size>
54 </property>
55 </spacer>
56 </item>
57 <item>
58 <widget class="QPushButton" name="bn_del_virt">
59 <property name="enabled">
60 <bool>false</bool>
61 </property>
62 <property name="text">
63 <string>Delete virtual device</string>
64 </property>
65 </widget>
66 </item>
67 </layout>
68 </item>
69 </layout>
70 </widget>
71 <widget class="QGroupBox" name="groupBox_2">
72 <property name="title">
73 <string>New virtual device</string>
74 </property>
75 <layout class="QVBoxLayout" name="verticalLayout_2">
76 <item>
77 <layout class="QHBoxLayout" name="horizontalLayout">
78 <item>
79 <widget class="QLabel" name="label">
80 <property name="text">
81 <string>Name</string>
82 </property>
83 </widget>
84 </item>
85 <item>
86 <widget class="QLineEdit" name="tx_devname"/>
87 </item>
88 </layout>
89 </item>
90 <item>
91 <widget class="DropList" name="list_newdev">
92 <property name="acceptDrops">
93 <bool>true</bool>
94 </property>
95 <property name="dragEnabled">
96 <bool>true</bool>
97 </property>
98 <property name="dragDropOverwriteMode">
99 <bool>true</bool>
100 </property>
101 <property name="dragDropMode">
102 <enum>QAbstractItemView::DragDrop</enum>
103 </property>
104 <property name="defaultDropAction">
105 <enum>Qt::CopyAction</enum>
106 </property>
107 <property name="alternatingRowColors">
108 <bool>false</bool>
109 </property>
110 <property name="modelColumn">
111 <number>0</number>
112 </property>
113 </widget>
114 </item>
115 <item>
116 <layout class="QHBoxLayout" name="horizontalLayout_2">
117 <item>
118 <widget class="QPushButton" name="pushButton_3">
119 <property name="enabled">
120 <bool>false</bool>
121 </property>
122 <property name="text">
123 <string>Create</string>
124 </property>
125 </widget>
126 </item>
127 <item>
128 <spacer name="horizontalSpacer">
129 <property name="orientation">
130 <enum>Qt::Horizontal</enum>
131 </property>
132 <property name="sizeHint" stdset="0">
133 <size>
134 <width>40</width>
135 <height>20</height>
136 </size>
137 </property>
138 </spacer>
139 </item>
140 <item>
141 <widget class="QPushButton" name="pushButton_2">
142 <property name="enabled">
143 <bool>false</bool>
144 </property>
145 <property name="text">
146 <string>Remove</string>
147 </property>
148 </widget>
149 </item>
150 </layout>
151 </item>
152 </layout>
153 </widget>
154 </widget>
155 <widget class="QSplitter" name="splitter">
156 <property name="orientation">
157 <enum>Qt::Vertical</enum>
158 </property>
159 <widget class="QGroupBox" name="groupBox_3">
160 <property name="sizePolicy">
161 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
162 <horstretch>0</horstretch>
163 <verstretch>0</verstretch>
164 </sizepolicy>
165 </property>
166 <property name="minimumSize">
167 <size>
168 <width>0</width>
169 <height>347</height>
170 </size>
171 </property>
172 <property name="title">
173 <string>Joystick information</string>
174 </property>
175 <layout class="QVBoxLayout" name="verticalLayout">
176 <item>
177 <widget class="QListWidget" name="list_joyinfo"/>
178 </item>
179 </layout>
180 </widget>
181 <widget class="QGroupBox" name="groupBox_4">
182 <property name="sizePolicy">
183 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
184 <horstretch>0</horstretch>
185 <verstretch>0</verstretch>
186 </sizepolicy>
187 </property>
188 <property name="title">
189 <string>Joystick test</string>
190 </property>
191 <layout class="QVBoxLayout" name="verticalLayout_5">
192 <item>
193 <widget class="QScrollArea" name="test_area">
194 <property name="widgetResizable">
195 <bool>true</bool>
196 </property>
197 <widget class="QWidget" name="scrollAreaWidgetContents">
198 <property name="geometry">
199 <rect>
200 <x>0</x>
201 <y>0</y>
202 <width>360</width>
203 <height>158</height>
204 </rect>
205 </property>
206 </widget>
207 </widget>
208 </item>
209 </layout>
210 </widget>
211 </widget>
212 </widget>
213 </item>
214 </layout>
215 </widget>
216 <widget class="QMenuBar" name="menubar">
217 <property name="geometry">
218 <rect>
219 <x>0</x>
220 <y>0</y>
221 <width>796</width>
222 <height>24</height>
223 </rect>
224 </property>
225 <widget class="QMenu" name="menuFile">
226 <property name="title">
227 <string>Joystick</string>
228 </property>
229 <addaction name="action_combine"/>
230 <addaction name="action_delete"/>
231 <addaction name="action_quit"/>
232 </widget>
233 <widget class="QMenu" name="menuHelp">
234 <property name="title">
235 <string>Help</string>
236 </property>
237 <addaction name="action_usage"/>
238 <addaction name="action_about"/>
239 </widget>
240 <addaction name="menuFile"/>
241 <addaction name="menuHelp"/>
242 </widget>
243 <widget class="QStatusBar" name="statusbar"/>
244 <action name="action_usage">
245 <property name="text">
246 <string>Usage</string>
247 </property>
248 </action>
249 <action name="action_about">
250 <property name="text">
251 <string>About</string>
252 </property>
253 </action>
254 <action name="action_combine">
255 <property name="text">
256 <string>Combine</string>
257 </property>
258 </action>
259 <action name="action_delete">
260 <property name="text">
261 <string>Delete</string>
262 </property>
263 </action>
264 <action name="action_quit">
265 <property name="text">
266 <string>Quit</string>
267 </property>
268 </action>
269 </widget>
270 <customwidgets>
271 <customwidget>
272 <class>DropList</class>
273 <extends>QListWidget</extends>
274 <header>droplist.h</header>
275 </customwidget>
276 </customwidgets>
277 <resources/>
278 <connections>
279 <connection>
280 <sender>action_quit</sender>
281 <signal>triggered()</signal>
282 <receiver>MainWindow</receiver>
283 <slot>close()</slot>
284 <hints>
285 <hint type="sourcelabel">
286 <x>-1</x>
287 <y>-1</y>
288 </hint>
289 <hint type="destinationlabel">
290 <x>397</x>
291 <y>305</y>
292 </hint>
293 </hints>
294 </connection>
295 </connections>
296 </ui>