eric6/Plugins/UiExtensionPlugins/Translator/TranslatorWidget.ui

changeset 6942
2602857055c5
parent 6577
232f83b6763b
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TranslatorWidget</class>
4 <widget class="QWidget" name="TranslatorWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>817</width>
10 <height>144</height>
11 </rect>
12 </property>
13 <layout class="QVBoxLayout" name="verticalLayout">
14 <property name="leftMargin">
15 <number>0</number>
16 </property>
17 <property name="topMargin">
18 <number>0</number>
19 </property>
20 <property name="rightMargin">
21 <number>0</number>
22 </property>
23 <property name="bottomMargin">
24 <number>0</number>
25 </property>
26 <item>
27 <layout class="QHBoxLayout" name="horizontalLayout">
28 <item>
29 <widget class="QComboBox" name="engineComboBox">
30 <property name="toolTip">
31 <string>Select the translation service</string>
32 </property>
33 <property name="sizeAdjustPolicy">
34 <enum>QComboBox::AdjustToContents</enum>
35 </property>
36 </widget>
37 </item>
38 <item>
39 <spacer name="horizontalSpacer">
40 <property name="orientation">
41 <enum>Qt::Horizontal</enum>
42 </property>
43 <property name="sizeHint" stdset="0">
44 <size>
45 <width>40</width>
46 <height>20</height>
47 </size>
48 </property>
49 </spacer>
50 </item>
51 <item>
52 <widget class="QToolButton" name="preferencesButton">
53 <property name="toolTip">
54 <string>Press to open the Translator configuration page</string>
55 </property>
56 </widget>
57 </item>
58 </layout>
59 </item>
60 <item>
61 <layout class="QGridLayout" name="gridLayout">
62 <item row="0" column="0">
63 <widget class="QToolButton" name="pronounceOrigButton">
64 <property name="toolTip">
65 <string>Press to pronounce the entered text</string>
66 </property>
67 </widget>
68 </item>
69 <item row="0" column="1">
70 <widget class="QComboBox" name="origLanguageComboBox">
71 <property name="sizePolicy">
72 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
73 <horstretch>0</horstretch>
74 <verstretch>0</verstretch>
75 </sizepolicy>
76 </property>
77 <property name="toolTip">
78 <string>Select the language of the original text</string>
79 </property>
80 </widget>
81 </item>
82 <item row="0" column="2">
83 <widget class="QToolButton" name="swapButton">
84 <property name="toolTip">
85 <string>Press to swap the translation direction</string>
86 </property>
87 </widget>
88 </item>
89 <item row="0" column="3">
90 <widget class="QComboBox" name="transLanguageComboBox">
91 <property name="sizePolicy">
92 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
93 <horstretch>0</horstretch>
94 <verstretch>0</verstretch>
95 </sizepolicy>
96 </property>
97 <property name="toolTip">
98 <string>Select the language for the translated text</string>
99 </property>
100 </widget>
101 </item>
102 <item row="0" column="4">
103 <widget class="QToolButton" name="pronounceTransButton">
104 <property name="toolTip">
105 <string>Press to pronounce the translated text</string>
106 </property>
107 </widget>
108 </item>
109 <item row="1" column="0" rowspan="4" colspan="2">
110 <widget class="QPlainTextEdit" name="origEdit">
111 <property name="toolTip">
112 <string>Enter the text to be translated</string>
113 </property>
114 <property name="tabChangesFocus">
115 <bool>true</bool>
116 </property>
117 </widget>
118 </item>
119 <item row="1" column="2">
120 <spacer name="verticalSpacer">
121 <property name="orientation">
122 <enum>Qt::Vertical</enum>
123 </property>
124 <property name="sizeHint" stdset="0">
125 <size>
126 <width>23</width>
127 <height>68</height>
128 </size>
129 </property>
130 </spacer>
131 </item>
132 <item row="1" column="3" rowspan="4" colspan="2">
133 <widget class="QTextEdit" name="transEdit">
134 <property name="toolTip">
135 <string>Shows the translated text</string>
136 </property>
137 <property name="tabChangesFocus">
138 <bool>true</bool>
139 </property>
140 <property name="readOnly">
141 <bool>true</bool>
142 </property>
143 <property name="textInteractionFlags">
144 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
145 </property>
146 </widget>
147 </item>
148 <item row="2" column="2">
149 <widget class="QToolButton" name="translateButton">
150 <property name="toolTip">
151 <string>Press to translate the entered text</string>
152 </property>
153 </widget>
154 </item>
155 <item row="3" column="2">
156 <widget class="QToolButton" name="clearButton">
157 <property name="toolTip">
158 <string>Press to clear the text fields</string>
159 </property>
160 </widget>
161 </item>
162 <item row="4" column="2">
163 <spacer name="verticalSpacer_2">
164 <property name="orientation">
165 <enum>Qt::Vertical</enum>
166 </property>
167 <property name="sizeHint" stdset="0">
168 <size>
169 <width>23</width>
170 <height>28</height>
171 </size>
172 </property>
173 </spacer>
174 </item>
175 </layout>
176 </item>
177 </layout>
178 </widget>
179 <tabstops>
180 <tabstop>engineComboBox</tabstop>
181 <tabstop>pronounceOrigButton</tabstop>
182 <tabstop>origLanguageComboBox</tabstop>
183 <tabstop>swapButton</tabstop>
184 <tabstop>transLanguageComboBox</tabstop>
185 <tabstop>pronounceTransButton</tabstop>
186 <tabstop>origEdit</tabstop>
187 <tabstop>translateButton</tabstop>
188 <tabstop>transEdit</tabstop>
189 <tabstop>clearButton</tabstop>
190 </tabstops>
191 <resources/>
192 <connections/>
193 </ui>

eric ide

mercurial