c876d3bbef
rbutil uses several components from the utils folder, and can be considered part of utils too. Having it in a separate folder is an arbitrary split that doesn't help anymore these days, so merge them. This also allows other utils to easily use libtools.make without the need to navigate to a different folder. Change-Id: I3fc2f4de19e3e776553efb5dea5f779dfec0dc21
572 lines
18 KiB
XML
572 lines
18 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ConfigForm</class>
|
|
<widget class="QDialog" name="ConfigForm">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>500</width>
|
|
<height>465</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Configuration</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="labelTitle">
|
|
<property name="text">
|
|
<string>Configure Rockbox Utility</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QTabWidget" name="tabConfiguration">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tabDevice">
|
|
<attribute name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/multimedia-player.svg</normaloff>:/icons/multimedia-player.svg</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>&Device</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="labelMountPoint">
|
|
<property name="text">
|
|
<string>Select your device in the &filesystem</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>mountPoint</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QComboBox" name="mountPoint">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QPushButton" name="refreshMountPoint">
|
|
<property name="text">
|
|
<string>&Refresh</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/view-refresh.svg</normaloff>:/icons/view-refresh.svg</iconset>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="labelPlayer">
|
|
<property name="text">
|
|
<string>&Select your audio player</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>treeDevices</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>118</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="2" colspan="2">
|
|
<widget class="QCheckBox" name="showDisabled">
|
|
<property name="text">
|
|
<string>Show disabled targets</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="4">
|
|
<widget class="QTreeWidget" name="treeDevices">
|
|
<attribute name="headerVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="4">
|
|
<widget class="QPushButton" name="buttonAutodetect">
|
|
<property name="text">
|
|
<string>&Autodetect</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/edit-find.svg</normaloff>:/icons/edit-find.svg</iconset>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabProxy">
|
|
<attribute name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/network-idle.svg</normaloff>:/icons/network-idle.svg</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>&Proxy</string>
|
|
</attribute>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radioNoProxy">
|
|
<property name="text">
|
|
<string>&No Proxy</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QRadioButton" name="radioSystemProxy">
|
|
<property name="text">
|
|
<string>Use S&ystem values</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="radioManualProxy">
|
|
<property name="text">
|
|
<string>&Manual Proxy settings</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Proxy Values</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>&Host:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>proxyHost</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>&Port:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>proxyPort</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="proxyPass">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>&Username</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>proxyUser</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Pass&word</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>proxyPass</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QCheckBox" name="checkShowProxyPassword">
|
|
<property name="text">
|
|
<string>Show</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="proxyUser"/>
|
|
</item>
|
|
<item row="0" column="1" colspan="2">
|
|
<widget class="QLineEdit" name="proxyHost">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" colspan="2">
|
|
<widget class="QSpinBox" name="proxyPort">
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<spacer>
|
|
<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>
|
|
</widget>
|
|
<widget class="QWidget" name="tabLanguage">
|
|
<attribute name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/preferences-desktop-locale.svg</normaloff>:/icons/preferences-desktop-locale.svg</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>&Language</string>
|
|
</attribute>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QListWidget" name="listLanguages"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabCache">
|
|
<attribute name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/package-x-generic.svg</normaloff>:/icons/package-x-generic.svg</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>Cac&he</string>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>Download cache settings</string>
|
|
</attribute>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="cacheDescription">
|
|
<property name="text">
|
|
<string>Rockbox Utility uses a local download cache to save network traffic. You can change the path to the cache and use it as local repository by enabling Offline mode.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="cacheSize">
|
|
<property name="text">
|
|
<string>Current cache size is %1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="2">
|
|
<layout class="QHBoxLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>P&ath</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cachePath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="cachePath">
|
|
<property name="toolTip">
|
|
<string>Entering an invalid folder will reset the path to the systems temporary path.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonCacheBrowse">
|
|
<property name="text">
|
|
<string>&Browse</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/edit-find.svg</normaloff>:/icons/edit-find.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QCheckBox" name="cacheDisable">
|
|
<property name="text">
|
|
<string>Disable local &download cache</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>61</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QPushButton" name="buttonCacheClear">
|
|
<property name="text">
|
|
<string>Clean cache &now</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/user-trash-full.svg</normaloff>:/icons/user-trash-full.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tabTts">
|
|
<attribute name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/audio-input-microphone.svg</normaloff>:/icons/audio-input-microphone.svg</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>&TTS && Encoder</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>TTS Engine</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="labelTts">
|
|
<property name="text">
|
|
<string>&Select TTS Engine</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboTts</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2">
|
|
<widget class="QComboBox" name="comboTts"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="labelTtsExecutable">
|
|
<property name="text">
|
|
<string>Configure TTS Engine</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="configTTSstatus">
|
|
<property name="text">
|
|
<string>Configuration invalid!</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="configTTSstatusimg">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="rbutilqt.qrc">:/icons/dialog-error.svg</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QPushButton" name="configTts">
|
|
<property name="text">
|
|
<string>Configure &TTS</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/edit-find.svg</normaloff>:/icons/edit-find.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QPushButton" name="testTTS">
|
|
<property name="text">
|
|
<string>Test TTS</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/audio-volume-high.svg</normaloff>:/icons/audio-volume-high.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3">
|
|
<widget class="QCheckBox" name="ttsCorrections">
|
|
<property name="text">
|
|
<string>&Use string corrections for TTS</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>Encoder Engine</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="configEncstatus">
|
|
<property name="text">
|
|
<string>Configuration invalid!</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="configEncstatusimg">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="rbutilqt.qrc">:/icons/process-stop.svg</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QPushButton" name="configEncoder">
|
|
<property name="text">
|
|
<string>Configure &Enc</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/edit-find.svg</normaloff>:/icons/edit-find.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="encoderName">
|
|
<property name="text">
|
|
<string>encoder name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>458</width>
|
|
<height>131</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QPushButton" name="buttonOk">
|
|
<property name="text">
|
|
<string>&Ok</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/go-next.svg</normaloff>:/icons/go-next.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QPushButton" name="buttonCancel">
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="rbutilqt.qrc">
|
|
<normaloff>:/icons/process-stop.svg</normaloff>:/icons/process-stop.svg</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="rbutilqt.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|