rockbox/rbutil/rbutilqt/createvoicefrm.ui
Dominik Riebeling 2e96657c36 rbutil: Replace most icons with their svg variant.
Replace png icons with svg ones for better HiDPI support.

Change-Id: Ifcd5e551dfb764f57324d27741598181ce3acce2
2020-11-07 11:33:21 +01:00

217 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" >
<class>CreateVoiceFrm</class>
<widget class="QDialog" name="CreateVoiceFrm" >
<property name="windowModality" >
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>588</width>
<height>448</height>
</rect>
</property>
<property name="windowTitle" >
<string>Create Voice File</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" rowspan="5" >
<widget class="QLabel" name="label" >
<property name="text" >
<string/>
</property>
<property name="pixmap" >
<pixmap resource="rbutilqt.qrc" >:/icons/wizard.jpg</pixmap>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3" >
<widget class="QLabel" name="label_2" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Select the Language you want to generate a voicefile for:</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Generation settings</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="labelTtsProfile" >
<property name="text" >
<string>TTS:</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QPushButton" name="change" >
<property name="sizePolicy" >
<sizepolicy hsizetype="Minimum" vsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="icon">
<iconset resource="rbutilqt.qrc">
<normaloff>:/icons/preferences-system.svg</normaloff>:/icons/preferences-system.svg</iconset>
</property>
<property name="text" >
<string>Change</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<spacer name="horizontalSpacer" >
<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="1" column="2" >
<widget class="QSpinBox" name="wavtrimthreshold" >
<property name="accessibleName" >
<string>Wavtrim Threshold</string>
</property>
<property name="maximum" >
<number>5000</number>
</property>
<property name="value" >
<number>500</number>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Silence threshold</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>201</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="2" >
<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="4" column="3" >
<layout class="QHBoxLayout" >
<item>
<widget class="QPushButton" name="buttonOk" >
<property name="text" >
<string>&amp;Install</string>
</property>
<property name="icon" >
<iconset resource="rbutilqt.qrc" >
<normaloff>:/icons/go-next.svg</normaloff>:/icons/go-next.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCancel" >
<property name="text" >
<string>&amp;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>
</item>
<item row="1" column="1" colspan="3" >
<widget class="QComboBox" name="comboLanguage" >
<property name="accessibleName" >
<string>Language</string>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
<tabstop>comboLanguage</tabstop>
<tabstop>change</tabstop>
<tabstop>wavtrimthreshold</tabstop>
</tabstops>
<resources>
<include location="rbutilqt.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>CreateVoiceFrm</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>472</x>
<y>418</y>
</hint>
<hint type="destinationlabel" >
<x>382</x>
<y>328</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>CreateVoiceFrm</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>561</x>
<y>428</y>
</hint>
<hint type="destinationlabel" >
<x>522</x>
<y>332</y>
</hint>
</hints>
</connection>
</connections>
</ui>