combjs

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gui/main.ui	Thu Jul 14 15:40:20 2011 +0300
     1.3 @@ -0,0 +1,296 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<ui version="4.0">
     1.6 + <class>MainWindow</class>
     1.7 + <widget class="QMainWindow" name="MainWindow">
     1.8 +  <property name="geometry">
     1.9 +   <rect>
    1.10 +    <x>0</x>
    1.11 +    <y>0</y>
    1.12 +    <width>796</width>
    1.13 +    <height>612</height>
    1.14 +   </rect>
    1.15 +  </property>
    1.16 +  <property name="windowTitle">
    1.17 +   <string>Joystick Combiner</string>
    1.18 +  </property>
    1.19 +  <widget class="QWidget" name="centralwidget">
    1.20 +   <layout class="QVBoxLayout" name="verticalLayout_4">
    1.21 +    <item>
    1.22 +     <widget class="QSplitter" name="splitter_3">
    1.23 +      <property name="orientation">
    1.24 +       <enum>Qt::Horizontal</enum>
    1.25 +      </property>
    1.26 +      <widget class="QSplitter" name="splitter_2">
    1.27 +       <property name="orientation">
    1.28 +        <enum>Qt::Vertical</enum>
    1.29 +       </property>
    1.30 +       <widget class="QGroupBox" name="groupBox">
    1.31 +        <property name="title">
    1.32 +         <string>Joystick devices</string>
    1.33 +        </property>
    1.34 +        <layout class="QVBoxLayout" name="verticalLayout_3">
    1.35 +         <item>
    1.36 +          <widget class="QListWidget" name="list_js">
    1.37 +           <property name="dragEnabled">
    1.38 +            <bool>true</bool>
    1.39 +           </property>
    1.40 +           <property name="dragDropMode">
    1.41 +            <enum>QAbstractItemView::DragDrop</enum>
    1.42 +           </property>
    1.43 +          </widget>
    1.44 +         </item>
    1.45 +         <item>
    1.46 +          <layout class="QHBoxLayout" name="horizontalLayout_3">
    1.47 +           <item>
    1.48 +            <spacer name="horizontalSpacer_2">
    1.49 +             <property name="orientation">
    1.50 +              <enum>Qt::Horizontal</enum>
    1.51 +             </property>
    1.52 +             <property name="sizeHint" stdset="0">
    1.53 +              <size>
    1.54 +               <width>40</width>
    1.55 +               <height>20</height>
    1.56 +              </size>
    1.57 +             </property>
    1.58 +            </spacer>
    1.59 +           </item>
    1.60 +           <item>
    1.61 +            <widget class="QPushButton" name="bn_del_virt">
    1.62 +             <property name="enabled">
    1.63 +              <bool>false</bool>
    1.64 +             </property>
    1.65 +             <property name="text">
    1.66 +              <string>Delete virtual device</string>
    1.67 +             </property>
    1.68 +            </widget>
    1.69 +           </item>
    1.70 +          </layout>
    1.71 +         </item>
    1.72 +        </layout>
    1.73 +       </widget>
    1.74 +       <widget class="QGroupBox" name="groupBox_2">
    1.75 +        <property name="title">
    1.76 +         <string>New virtual device</string>
    1.77 +        </property>
    1.78 +        <layout class="QVBoxLayout" name="verticalLayout_2">
    1.79 +         <item>
    1.80 +          <layout class="QHBoxLayout" name="horizontalLayout">
    1.81 +           <item>
    1.82 +            <widget class="QLabel" name="label">
    1.83 +             <property name="text">
    1.84 +              <string>Name</string>
    1.85 +             </property>
    1.86 +            </widget>
    1.87 +           </item>
    1.88 +           <item>
    1.89 +            <widget class="QLineEdit" name="tx_devname"/>
    1.90 +           </item>
    1.91 +          </layout>
    1.92 +         </item>
    1.93 +         <item>
    1.94 +          <widget class="DropList" name="list_newdev">
    1.95 +           <property name="acceptDrops">
    1.96 +            <bool>true</bool>
    1.97 +           </property>
    1.98 +           <property name="dragEnabled">
    1.99 +            <bool>true</bool>
   1.100 +           </property>
   1.101 +           <property name="dragDropOverwriteMode">
   1.102 +            <bool>true</bool>
   1.103 +           </property>
   1.104 +           <property name="dragDropMode">
   1.105 +            <enum>QAbstractItemView::DragDrop</enum>
   1.106 +           </property>
   1.107 +           <property name="defaultDropAction">
   1.108 +            <enum>Qt::CopyAction</enum>
   1.109 +           </property>
   1.110 +           <property name="alternatingRowColors">
   1.111 +            <bool>false</bool>
   1.112 +           </property>
   1.113 +           <property name="modelColumn">
   1.114 +            <number>0</number>
   1.115 +           </property>
   1.116 +          </widget>
   1.117 +         </item>
   1.118 +         <item>
   1.119 +          <layout class="QHBoxLayout" name="horizontalLayout_2">
   1.120 +           <item>
   1.121 +            <widget class="QPushButton" name="pushButton_3">
   1.122 +             <property name="enabled">
   1.123 +              <bool>false</bool>
   1.124 +             </property>
   1.125 +             <property name="text">
   1.126 +              <string>Create</string>
   1.127 +             </property>
   1.128 +            </widget>
   1.129 +           </item>
   1.130 +           <item>
   1.131 +            <spacer name="horizontalSpacer">
   1.132 +             <property name="orientation">
   1.133 +              <enum>Qt::Horizontal</enum>
   1.134 +             </property>
   1.135 +             <property name="sizeHint" stdset="0">
   1.136 +              <size>
   1.137 +               <width>40</width>
   1.138 +               <height>20</height>
   1.139 +              </size>
   1.140 +             </property>
   1.141 +            </spacer>
   1.142 +           </item>
   1.143 +           <item>
   1.144 +            <widget class="QPushButton" name="pushButton_2">
   1.145 +             <property name="enabled">
   1.146 +              <bool>false</bool>
   1.147 +             </property>
   1.148 +             <property name="text">
   1.149 +              <string>Remove</string>
   1.150 +             </property>
   1.151 +            </widget>
   1.152 +           </item>
   1.153 +          </layout>
   1.154 +         </item>
   1.155 +        </layout>
   1.156 +       </widget>
   1.157 +      </widget>
   1.158 +      <widget class="QSplitter" name="splitter">
   1.159 +       <property name="orientation">
   1.160 +        <enum>Qt::Vertical</enum>
   1.161 +       </property>
   1.162 +       <widget class="QGroupBox" name="groupBox_3">
   1.163 +        <property name="sizePolicy">
   1.164 +         <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
   1.165 +          <horstretch>0</horstretch>
   1.166 +          <verstretch>0</verstretch>
   1.167 +         </sizepolicy>
   1.168 +        </property>
   1.169 +        <property name="minimumSize">
   1.170 +         <size>
   1.171 +          <width>0</width>
   1.172 +          <height>347</height>
   1.173 +         </size>
   1.174 +        </property>
   1.175 +        <property name="title">
   1.176 +         <string>Joystick information</string>
   1.177 +        </property>
   1.178 +        <layout class="QVBoxLayout" name="verticalLayout">
   1.179 +         <item>
   1.180 +          <widget class="QListWidget" name="list_joyinfo"/>
   1.181 +         </item>
   1.182 +        </layout>
   1.183 +       </widget>
   1.184 +       <widget class="QGroupBox" name="groupBox_4">
   1.185 +        <property name="sizePolicy">
   1.186 +         <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
   1.187 +          <horstretch>0</horstretch>
   1.188 +          <verstretch>0</verstretch>
   1.189 +         </sizepolicy>
   1.190 +        </property>
   1.191 +        <property name="title">
   1.192 +         <string>Joystick test</string>
   1.193 +        </property>
   1.194 +        <layout class="QVBoxLayout" name="verticalLayout_5">
   1.195 +         <item>
   1.196 +          <widget class="QScrollArea" name="test_area">
   1.197 +           <property name="widgetResizable">
   1.198 +            <bool>true</bool>
   1.199 +           </property>
   1.200 +           <widget class="QWidget" name="scrollAreaWidgetContents">
   1.201 +            <property name="geometry">
   1.202 +             <rect>
   1.203 +              <x>0</x>
   1.204 +              <y>0</y>
   1.205 +              <width>360</width>
   1.206 +              <height>158</height>
   1.207 +             </rect>
   1.208 +            </property>
   1.209 +           </widget>
   1.210 +          </widget>
   1.211 +         </item>
   1.212 +        </layout>
   1.213 +       </widget>
   1.214 +      </widget>
   1.215 +     </widget>
   1.216 +    </item>
   1.217 +   </layout>
   1.218 +  </widget>
   1.219 +  <widget class="QMenuBar" name="menubar">
   1.220 +   <property name="geometry">
   1.221 +    <rect>
   1.222 +     <x>0</x>
   1.223 +     <y>0</y>
   1.224 +     <width>796</width>
   1.225 +     <height>24</height>
   1.226 +    </rect>
   1.227 +   </property>
   1.228 +   <widget class="QMenu" name="menuFile">
   1.229 +    <property name="title">
   1.230 +     <string>Joystick</string>
   1.231 +    </property>
   1.232 +    <addaction name="action_combine"/>
   1.233 +    <addaction name="action_delete"/>
   1.234 +    <addaction name="action_quit"/>
   1.235 +   </widget>
   1.236 +   <widget class="QMenu" name="menuHelp">
   1.237 +    <property name="title">
   1.238 +     <string>Help</string>
   1.239 +    </property>
   1.240 +    <addaction name="action_usage"/>
   1.241 +    <addaction name="action_about"/>
   1.242 +   </widget>
   1.243 +   <addaction name="menuFile"/>
   1.244 +   <addaction name="menuHelp"/>
   1.245 +  </widget>
   1.246 +  <widget class="QStatusBar" name="statusbar"/>
   1.247 +  <action name="action_usage">
   1.248 +   <property name="text">
   1.249 +    <string>Usage</string>
   1.250 +   </property>
   1.251 +  </action>
   1.252 +  <action name="action_about">
   1.253 +   <property name="text">
   1.254 +    <string>About</string>
   1.255 +   </property>
   1.256 +  </action>
   1.257 +  <action name="action_combine">
   1.258 +   <property name="text">
   1.259 +    <string>Combine</string>
   1.260 +   </property>
   1.261 +  </action>
   1.262 +  <action name="action_delete">
   1.263 +   <property name="text">
   1.264 +    <string>Delete</string>
   1.265 +   </property>
   1.266 +  </action>
   1.267 +  <action name="action_quit">
   1.268 +   <property name="text">
   1.269 +    <string>Quit</string>
   1.270 +   </property>
   1.271 +  </action>
   1.272 + </widget>
   1.273 + <customwidgets>
   1.274 +  <customwidget>
   1.275 +   <class>DropList</class>
   1.276 +   <extends>QListWidget</extends>
   1.277 +   <header>droplist.h</header>
   1.278 +  </customwidget>
   1.279 + </customwidgets>
   1.280 + <resources/>
   1.281 + <connections>
   1.282 +  <connection>
   1.283 +   <sender>action_quit</sender>
   1.284 +   <signal>triggered()</signal>
   1.285 +   <receiver>MainWindow</receiver>
   1.286 +   <slot>close()</slot>
   1.287 +   <hints>
   1.288 +    <hint type="sourcelabel">
   1.289 +     <x>-1</x>
   1.290 +     <y>-1</y>
   1.291 +    </hint>
   1.292 +    <hint type="destinationlabel">
   1.293 +     <x>397</x>
   1.294 +     <y>305</y>
   1.295 +    </hint>
   1.296 +   </hints>
   1.297 +  </connection>
   1.298 + </connections>
   1.299 +</ui>