mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
271 lines
6.8 KiB
Plaintext
271 lines
6.8 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>EditCommandDialog</class>
|
||
|
<widget class="QDialog" name="EditCommandDialog">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>324</width>
|
||
|
<height>239</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<family>Sans Serif</family>
|
||
|
<pointsize>9</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Edit command</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QGroupBox" name="groupLayout">
|
||
|
<property name="title">
|
||
|
<string>Command Description</string>
|
||
|
</property>
|
||
|
<layout class="QFormLayout" name="formLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="groupLabel">
|
||
|
<property name="text">
|
||
|
<string>&Group</string>
|
||
|
</property>
|
||
|
<property name="buddy">
|
||
|
<cstring>group</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QComboBox" name="group">
|
||
|
<property name="toolTip">
|
||
|
<string>Choose or create new group</string>
|
||
|
</property>
|
||
|
<property name="editable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="descriptionLabel">
|
||
|
<property name="text">
|
||
|
<string>&Description</string>
|
||
|
</property>
|
||
|
<property name="buddy">
|
||
|
<cstring>description</cstring>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLineEdit" name="description">
|
||
|
<property name="toolTip">
|
||
|
<string>Edit description</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="commandLayout">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="commandLabel">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Cmd</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="showFileDialog">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>24</width>
|
||
|
<height>24</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>24</width>
|
||
|
<height>24</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Choose command</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../resources/res.qrc">
|
||
|
<normaloff>:/load.png</normaloff>:/load.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="command">
|
||
|
<property name="text">
|
||
|
<string>...</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="argsLayout">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="argsLabel">
|
||
|
<property name="text">
|
||
|
<string>Arg</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="args">
|
||
|
<property name="toolTip">
|
||
|
<string>Edit arguments</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="keyLayout">
|
||
|
<property name="topMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="keyAssociate">
|
||
|
<property name="toolTip">
|
||
|
<string>Associate key event to run the command</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="ButtonSwitch" name="keyCapture">
|
||
|
<property name="toolTip">
|
||
|
<string>Enter key to associate</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Key</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="keyLabel">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Associated key or composed key</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>..</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="keyRelease">
|
||
|
<property name="toolTip">
|
||
|
<string>Run command on key release</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Release</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="verticalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>40</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="standardButtons">
|
||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>ButtonSwitch</class>
|
||
|
<extends>QToolButton</extends>
|
||
|
<header>gui/buttonswitch.h</header>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<tabstops>
|
||
|
<tabstop>description</tabstop>
|
||
|
<tabstop>buttonBox</tabstop>
|
||
|
<tabstop>group</tabstop>
|
||
|
</tabstops>
|
||
|
<resources>
|
||
|
<include location="../resources/res.qrc"/>
|
||
|
</resources>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>accepted()</signal>
|
||
|
<receiver>EditCommandDialog</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>257</x>
|
||
|
<y>194</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>157</x>
|
||
|
<y>203</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>buttonBox</sender>
|
||
|
<signal>rejected()</signal>
|
||
|
<receiver>EditCommandDialog</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>314</x>
|
||
|
<y>194</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>286</x>
|
||
|
<y>203</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|