123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>QStarDict::SettingsDialog</class>
- <widget class="QDialog" name="QStarDict::SettingsDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>466</width>
- <height>498</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>QStarDict Settings</string>
- </property>
- <property name="toolTip">
- <string/>
- </property>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="1" column="0">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- <property name="centerButtons">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tabGlobalSettings">
- <attribute name="title">
- <string>Global settings</string>
- </attribute>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QCheckBox" name="systemTrayBox">
- <property name="text">
- <string>Use system tray</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="autostartBox">
- <property name="text">
- <string>Start with system</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="instantSearchBox">
- <property name="text">
- <string>Instant search</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Pronounce words using this command:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="speechCmdEdit">
- <property name="toolTip">
- <string>Enter cmd for the speaching program.<br>If cmd contains "%s" it will be replaced to word, else word will be writen to stdin of speech process.</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>426</width>
- <height>318</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tabDictionaries">
- <attribute name="title">
- <string>Dictionaries</string>
- </attribute>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>Dictionaries</string>
- </property>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QTableView" name="dictsTableView">
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::SingleSelection</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectRows</enum>
- </property>
- <property name="showGrid">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout">
- <item>
- <widget class="QToolButton" name="dictsMoveUpButton">
- <property name="toolTip">
- <string>Move up</string>
- </property>
- <property name="text">
- <string>Up</string>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/icons/arrow-up.png</normaloff>:/icons/arrow-up.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="dictsMoveDownButton">
- <property name="toolTip">
- <string>Move down</string>
- </property>
- <property name="text">
- <string>Down</string>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/icons/arrow-down.png</normaloff>:/icons/arrow-down.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="dictsShowInfoButton">
- <property name="toolTip">
- <string>Show information about dictionary</string>
- </property>
- <property name="text">
- <string>Show info</string>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/icons/dialog-information.png</normaloff>:/icons/dialog-information.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <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>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_4">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>196</height>
- </size>
- </property>
- <property name="title">
- <string>Plugins</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
- </property>
- <layout class="QVBoxLayout">
- <item>
- <widget class="QTableView" name="pluginsTableView">
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::SingleSelection</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectRows</enum>
- </property>
- <property name="showGrid">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout">
- <item>
- <widget class="QToolButton" name="pluginsShowInfoButton">
- <property name="toolTip">
- <string>Show information about plugin</string>
- </property>
- <property name="text">
- <string>Info</string>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/icons/dialog-information.png</normaloff>:/icons/dialog-information.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pluginsConfigureButton">
- <property name="toolTip">
- <string>Configure plugin</string>
- </property>
- <property name="text">
- <string>Configure</string>
- </property>
- <property name="icon">
- <iconset resource="pixmaps/pixmaps.qrc">
- <normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
- </property>
- </widget>
- </item>
- <item>
- <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>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tabPopupWindow">
- <attribute name="title">
- <string>Popup window</string>
- </attribute>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Behavior</string>
- </property>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="4" column="0">
- <layout class="QVBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QCheckBox" name="pronounceWordBox">
- <property name="text">
- <string>Pronounce the word</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="3" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Timeout before hide after mouse over</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="timeoutBeforeHideSpin">
- <property name="specialValueText">
- <string>Don't hide</string>
- </property>
- <property name="suffix">
- <string> sec</string>
- </property>
- <property name="decimals">
- <number>1</number>
- </property>
- <property name="minimum">
- <double>0.000000000000000</double>
- </property>
- <property name="maximum">
- <double>10.000000000000000</double>
- </property>
- <property name="singleStep">
- <double>0.100000000000000</double>
- </property>
- <property name="value">
- <double>0.500000000000000</double>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QCheckBox" name="useScanModifierBox">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Show only if modifier pressed</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="modifierKeyBox">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <item>
- <property name="text">
- <string>Alt</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Control</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Shift</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Win</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </item>
- <item row="0" column="0">
- <widget class="QCheckBox" name="useScanBox">
- <property name="text">
- <string>Scan selection</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="showIfNotFoundBox">
- <property name="text">
- <string>Show if word not found</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>Appearance</string>
- </property>
- <layout class="QGridLayout">
- <property name="margin">
- <number>9</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <item row="2" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Opacity</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="popupOpacitySpin">
- <property name="suffix">
- <string>%</string>
- </property>
- <property name="prefix">
- <string/>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>100</number>
- </property>
- <property name="value">
- <number>100</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="0" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Default width</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="popupDefaultWidthSpin">
- <property name="minimum">
- <number>96</number>
- </property>
- <property name="maximum">
- <number>9999</number>
- </property>
- <property name="value">
- <number>320</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <layout class="QHBoxLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>Default height</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="popupDefaultHeightSpin">
- <property name="minimum">
- <number>96</number>
- </property>
- <property name="maximum">
- <number>9999</number>
- </property>
- <property name="value">
- <number>240</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="0">
- <spacer>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>101</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Appearance</string>
- </attribute>
- <layout class="QGridLayout">
- <item row="0" column="0">
- <widget class="QStarDict::CSSEdit" name="appearanceCSSEdit" native="true"/>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- <customwidgets>
- <customwidget>
- <class>QStarDict::CSSEdit</class>
- <extends>QWidget</extends>
- <header>cssedit.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <tabstops>
- <tabstop>instantSearchBox</tabstop>
- <tabstop>speechCmdEdit</tabstop>
- <tabstop>buttonBox</tabstop>
- <tabstop>tabWidget</tabstop>
- <tabstop>dictsTableView</tabstop>
- <tabstop>dictsMoveUpButton</tabstop>
- <tabstop>dictsMoveDownButton</tabstop>
- <tabstop>dictsShowInfoButton</tabstop>
- <tabstop>pluginsTableView</tabstop>
- <tabstop>pluginsShowInfoButton</tabstop>
- <tabstop>pluginsConfigureButton</tabstop>
- <tabstop>useScanBox</tabstop>
- <tabstop>showIfNotFoundBox</tabstop>
- <tabstop>useScanModifierBox</tabstop>
- <tabstop>modifierKeyBox</tabstop>
- <tabstop>timeoutBeforeHideSpin</tabstop>
- <tabstop>pronounceWordBox</tabstop>
- <tabstop>popupDefaultWidthSpin</tabstop>
- <tabstop>popupDefaultHeightSpin</tabstop>
- <tabstop>popupOpacitySpin</tabstop>
- </tabstops>
- <resources>
- <include location="pixmaps/pixmaps.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>QStarDict::SettingsDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>330</x>
- <y>587</y>
- </hint>
- <hint type="destinationlabel">
- <x>410</x>
- <y>299</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>QStarDict::SettingsDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>406</x>
- <y>587</y>
- </hint>
- <hint type="destinationlabel">
- <x>410</x>
- <y>299</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>useScanModifierBox</sender>
- <signal>toggled(bool)</signal>
- <receiver>modifierKeyBox</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>165</x>
- <y>140</y>
- </hint>
- <hint type="destinationlabel">
- <x>273</x>
- <y>137</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|