]> git.sesse.net Git - kdenlive/blobdiff - src/widgets/configjogshuttle_ui.ui
Autodetect jogshuttle device, improve handling
[kdenlive] / src / widgets / configjogshuttle_ui.ui
index 0c2dafaadf9f192629d9778a5d0edcbf6c7fcd3c..9abb022f395f59a34b05fa485e32549ef8f9dec0 100644 (file)
@@ -5,12 +5,12 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>299</width>
-    <height>260</height>
+    <width>325</width>
+    <height>285</height>
    </rect>
   </property>
-  <layout class="QGridLayout" name="gridLayout" >
-   <item row="0" column="0" colspan="2" >
+  <layout class="QGridLayout" name="gridLayout_2" >
+   <item row="0" column="0" >
     <widget class="QCheckBox" name="kcfg_enableshuttle" >
      <property name="text" >
       <string>Enable Jog Shuttle device</string>
     </widget>
    </item>
    <item row="1" column="0" >
-    <widget class="QLabel" name="label" >
-     <property name="text" >
-      <string>Device path</string>
+    <widget class="QGroupBox" name="config_group" >
+     <property name="enabled" >
+      <bool>false</bool>
      </property>
-    </widget>
-   </item>
-   <item row="1" column="1" >
-    <widget class="KLineEdit" name="kcfg_shuttledevice" >
-     <property name="text" >
-      <string>/dev/input/event1</string>
+     <property name="title" >
+      <string>Device configuration</string>
      </property>
+     <layout class="QGridLayout" name="gridLayout" >
+      <item row="0" column="0" >
+       <widget class="QLabel" name="label" >
+        <property name="text" >
+         <string>Device</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1" >
+       <widget class="KComboBox" name="shuttledevicelist" />
+      </item>
+      <item row="0" column="2" >
+       <widget class="KLineEdit" name="kcfg_shuttledevice" >
+        <property name="text" >
+         <string/>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0" >
+       <widget class="QLabel" name="label_2" >
+        <property name="text" >
+         <string>Button 1</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" colspan="2" >
+       <widget class="KComboBox" name="kcfg_shuttle1" />
+      </item>
+      <item row="2" column="0" >
+       <widget class="QLabel" name="label_4" >
+        <property name="text" >
+         <string>Button 2</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="1" colspan="2" >
+       <widget class="KComboBox" name="kcfg_shuttle2" />
+      </item>
+      <item row="3" column="0" >
+       <widget class="QLabel" name="label_3" >
+        <property name="text" >
+         <string>Button 3</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1" colspan="2" >
+       <widget class="KComboBox" name="kcfg_shuttle3" />
+      </item>
+      <item row="4" column="0" >
+       <widget class="QLabel" name="label_7" >
+        <property name="text" >
+         <string>Button 4</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="1" colspan="2" >
+       <widget class="KComboBox" name="kcfg_shuttle4" />
+      </item>
+      <item row="5" column="0" >
+       <widget class="QLabel" name="label_5" >
+        <property name="text" >
+         <string>Button 5</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="1" colspan="2" >
+       <widget class="KComboBox" name="kcfg_shuttle5" />
+      </item>
+     </layout>
     </widget>
    </item>
    <item row="2" column="0" >
-    <widget class="QLabel" name="label_2" >
-     <property name="text" >
-      <string>Button 1</string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="1" >
-    <widget class="KComboBox" name="kcfg_shuttle1" />
-   </item>
-   <item row="3" column="0" >
-    <widget class="QLabel" name="label_4" >
-     <property name="text" >
-      <string>Button 2</string>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="1" >
-    <widget class="KComboBox" name="kcfg_shuttle2" />
-   </item>
-   <item row="4" column="0" >
-    <widget class="QLabel" name="label_3" >
-     <property name="text" >
-      <string>Button 3</string>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="1" >
-    <widget class="KComboBox" name="kcfg_shuttle3" />
-   </item>
-   <item row="5" column="0" >
-    <widget class="QLabel" name="label_7" >
-     <property name="text" >
-      <string>Button 4</string>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="1" >
-    <widget class="KComboBox" name="kcfg_shuttle4" />
-   </item>
-   <item row="6" column="0" >
-    <widget class="QLabel" name="label_5" >
-     <property name="text" >
-      <string>Button 5</string>
-     </property>
-    </widget>
-   </item>
-   <item row="6" column="1" >
-    <widget class="KComboBox" name="kcfg_shuttle5" />
-   </item>
-   <item row="7" column="1" >
     <spacer name="verticalSpacer" >
      <property name="orientation" >
       <enum>Qt::Vertical</enum>