mirror of
https://github.com/jopohl/urh.git
synced 2026-03-12 11:16:47 +01:00
* refactor build scripts * refactor rebuild extensions * quiet down check for compiler has_function + fix cython warnings * fix path * remove init py to avoid cython warnings * fix import * improve rebuild button * show selected backend in list * cleanup device table in options * cleanup * add missing brace
666 lines
23 KiB
XML
666 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogOptions</class>
|
|
<widget class="QDialog" name="DialogOptions">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>727</width>
|
|
<height>749</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Options</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset theme="configure">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>4</number>
|
|
</property>
|
|
<widget class="QWidget" name="tabGeneration">
|
|
<attribute name="title">
|
|
<string>Generation</string>
|
|
</attribute>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>20</y>
|
|
<width>314</width>
|
|
<height>99</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="labelFuzzingSamples">
|
|
<property name="text">
|
|
<string>Samples</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="checkBoxDefaultFuzzingPause">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If you disable the default pause, the pause of the fuzzed message will be used.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use a default pause for fuzzed messages</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="KillerDoubleSpinBox" name="doubleSpinBoxFuzzingPause">
|
|
<property name="decimals">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>999999999.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="checkBoxMultipleModulations">
|
|
<property name="text">
|
|
<string>Enable modulation profiles</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tabView">
|
|
<attribute name="title">
|
|
<string>View</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Default View:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBoxDefaultView">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Bit</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Hex</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>ASCII</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxShowConfirmCloseDialog">
|
|
<property name="text">
|
|
<string>Show "confirm close" dialog</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxHoldShiftToDrag">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If checked, you need to <span style=" font-weight:600;">hold the Shift key to drag</span> with the mouse inside graphic views like the drawn signal in Interpreation tab, while making a selection with the mouse does not require holding any buttons.</p><p>If unchecked, this is inverted: Hold shift to make a selection, and drag by default.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hold shift to drag</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxPauseTime">
|
|
<property name="text">
|
|
<string>Show pauses as time</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxAlignLabels">
|
|
<property name="text">
|
|
<string>Align on labels</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="text">
|
|
<string>Choose application theme (requires restart):</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBoxTheme">
|
|
<item>
|
|
<property name="text">
|
|
<string>native look (default)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>fallback theme</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>fallback theme (dark)</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="labelIconTheme">
|
|
<property name="text">
|
|
<string>Choose icon theme (requires restart):</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBoxIconTheme">
|
|
<item>
|
|
<property name="text">
|
|
<string>bundled icons (default)</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>native icon theme</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxSpectrogramColormap">
|
|
<property name="title">
|
|
<string>Spectrogram Colormap</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollAreaSpectrogramColormap">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetSpectrogramColormapContents">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>647</width>
|
|
<height>380</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4"/>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabFieldtypes">
|
|
<attribute name="title">
|
|
<string>Fieldtypes</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QTableView" name="tblLabeltypes">
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QToolButton" name="btnAddLabelType">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="list-add">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="btnRemoveLabeltype">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="list-remove">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>203</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_plugins">
|
|
<attribute name="title">
|
|
<string>Plugins</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="tabDevices">
|
|
<attribute name="title">
|
|
<string>Device</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QListWidget" name="listWidgetDevices">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="viewMode">
|
|
<enum>QListView::ListMode</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
<item>
|
|
<widget class="QCheckBox" name="chkBoxDeviceEnabled">
|
|
<property name="text">
|
|
<string>Enabled</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rbNativeBackend">
|
|
<property name="text">
|
|
<string>&Native backend (recommended)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="rbGnuradioBackend">
|
|
<property name="text">
|
|
<string>&Gnuradio backend</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btnHealthCheck">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Perform a health check for native device extensions.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Health Check</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="heart">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="lSupport">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<italic>false</italic>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: green</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>device supports sending and receiving</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelWindowsError">
|
|
<property name="text">
|
|
<string><html><head/><body><p><span style=" color:#ff0000;">Detected a 32 bit installation of python 3.</span> Install <span style=" font-weight:600;">64 bit version</span> to use native backends.</p></body></html></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBoxNativeOptions">
|
|
<property name="title">
|
|
<string>Native options</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="3" column="2">
|
|
<widget class="QLabel" name="labelRebuildNativeStatus">
|
|
<property name="text">
|
|
<string>Rebuild <x> new device extensions. Please restart URH to use them.</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="labelLibDirs">
|
|
<property name="text">
|
|
<string>Library directories:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QPushButton" name="btnRebuildNative">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Rebuild the native device extensions. You need to restart URH after this, to use new extensions.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rebuild</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="view-refresh">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QLabel" name="labelNativeRebuildInfo">
|
|
<property name="text">
|
|
<string>You can rebuild the native device extensions here. This is useful, when you installed a device driver afterwards or your drivers are stored in an unusual location.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QLineEdit" name="lineEditLibDirs">
|
|
<property name="placeholderText">
|
|
<string>Comma separated list of additional library directories</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QPushButton" name="btnViewBuildLog">
|
|
<property name="text">
|
|
<string>View log</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="utilities-log-viewer"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Gnuradio options</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="font">
|
|
<font>
|
|
<italic>true</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Needed for Gnuradio backend only</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="lineEditPython2Interpreter">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Use this option if you installed Gnuradio with your package manager e.g. on Linux and Mac OS X.</p></body></html></string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>/usr/bin/python2</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QLabel" name="lGnuradioInstalled">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Gnuradio installation found</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="lineEditGnuradioDirectory">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If you installed Gnuradio with a bundled python interpreter, you need to enter the site-packages path of the installation here. The path should be something like <span style=" font-style:italic;">C:\Program Files\GNURadio-3.7</span>.</p></body></html></string>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>C:\...\Gnuradio</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QRadioButton" name="radioButtonPython2Interpreter">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Use this option if you installed Gnuradio with your package manager e.g. on Linux and Mac OS X.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Python2 interpreter</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="radioButtonGnuradioDirectory">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>If you installed Gnuradio with a bundled python interpreter, you need to enter the site-packages path of the installation here. The path should be something like <span style=" font-style:italic;">C:\Program Files\GNURadio-3.7</span>.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Gn&uradio Directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QToolButton" name="btnChoosePython2Interpreter">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QToolButton" name="btnChooseGnuRadioDirectory">
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="text">
|
|
<string>Default sending repititions:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="spinBoxNumSendingRepeats">
|
|
<property name="specialValueText">
|
|
<string>Infinite</string>
|
|
</property>
|
|
<property name="showGroupSeparator" stdset="0">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>999999999</number>
|
|
</property>
|
|
<property name="displayIntegerBase">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Use this percentage of available RAM for buffer allocation:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxRAMThreshold">
|
|
<property name="suffix">
|
|
<string>%</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>100.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KillerDoubleSpinBox</class>
|
|
<extends>QDoubleSpinBox</extends>
|
|
<header>urh.ui.KillerDoubleSpinBox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|