ProjectFlask/FlaskBabelExtension/PyBabelConfigDialog.ui

changeset 17
f31df56510a1
parent 16
dd3f6bfb85f7
child 29
a8817ea36587
equal deleted inserted replaced
16:dd3f6bfb85f7 17:f31df56510a1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>PyBabelConfigDialog</class>
4 <widget class="QDialog" name="PyBabelConfigDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>600</width>
10 <height>150</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>PyBabel Configuration</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout">
20 <item row="0" column="0">
21 <widget class="QLabel" name="label">
22 <property name="text">
23 <string>Configuration File:</string>
24 </property>
25 </widget>
26 </item>
27 <item row="0" column="1">
28 <widget class="E5PathPicker" name="configFilePicker" native="true">
29 <property name="sizePolicy">
30 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
31 <horstretch>0</horstretch>
32 <verstretch>0</verstretch>
33 </sizepolicy>
34 </property>
35 <property name="focusPolicy">
36 <enum>Qt::StrongFocus</enum>
37 </property>
38 <property name="toolTip">
39 <string>Enter the name of the PyBabel configuration file</string>
40 </property>
41 </widget>
42 </item>
43 <item row="1" column="0">
44 <widget class="QLabel" name="label_4">
45 <property name="text">
46 <string>Translations Directory:</string>
47 </property>
48 </widget>
49 </item>
50 <item row="1" column="1">
51 <widget class="E5PathPicker" name="translationsDirectoryPicker" native="true">
52 <property name="sizePolicy">
53 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
54 <horstretch>0</horstretch>
55 <verstretch>0</verstretch>
56 </sizepolicy>
57 </property>
58 <property name="focusPolicy">
59 <enum>Qt::StrongFocus</enum>
60 </property>
61 <property name="toolTip">
62 <string>Enter the name of the directory containing the translations</string>
63 </property>
64 </widget>
65 </item>
66 <item row="2" column="0">
67 <widget class="QLabel" name="label_5">
68 <property name="text">
69 <string>Domain:</string>
70 </property>
71 </widget>
72 </item>
73 <item row="2" column="1">
74 <widget class="QLineEdit" name="domainEdit">
75 <property name="toolTip">
76 <string>Enter the name of the translations domain (leave empty for default)</string>
77 </property>
78 <property name="clearButtonEnabled">
79 <bool>true</bool>
80 </property>
81 </widget>
82 </item>
83 <item row="3" column="0">
84 <widget class="QLabel" name="label_2">
85 <property name="text">
86 <string>Message Catalog:</string>
87 </property>
88 </widget>
89 </item>
90 <item row="3" column="1">
91 <widget class="E5PathPicker" name="catalogFilePicker" native="true">
92 <property name="sizePolicy">
93 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
94 <horstretch>0</horstretch>
95 <verstretch>0</verstretch>
96 </sizepolicy>
97 </property>
98 <property name="focusPolicy">
99 <enum>Qt::StrongFocus</enum>
100 </property>
101 <property name="toolTip">
102 <string>Enter the name of the message catalog file</string>
103 </property>
104 </widget>
105 </item>
106 <item row="4" column="0">
107 <widget class="QLabel" name="label_3">
108 <property name="text">
109 <string>Translation Markers:</string>
110 </property>
111 </widget>
112 </item>
113 <item row="4" column="1">
114 <widget class="QLineEdit" name="markersEdit">
115 <property name="toolTip">
116 <string>Enter the translation markers separated by space (_ is included by default)</string>
117 </property>
118 <property name="clearButtonEnabled">
119 <bool>true</bool>
120 </property>
121 </widget>
122 </item>
123 <item row="5" column="0" colspan="2">
124 <widget class="QDialogButtonBox" name="buttonBox">
125 <property name="orientation">
126 <enum>Qt::Horizontal</enum>
127 </property>
128 <property name="standardButtons">
129 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
130 </property>
131 </widget>
132 </item>
133 </layout>
134 </widget>
135 <customwidgets>
136 <customwidget>
137 <class>E5PathPicker</class>
138 <extends>QWidget</extends>
139 <header>E5Gui/E5PathPicker.h</header>
140 <container>1</container>
141 </customwidget>
142 </customwidgets>
143 <tabstops>
144 <tabstop>configFilePicker</tabstop>
145 <tabstop>translationsDirectoryPicker</tabstop>
146 <tabstop>domainEdit</tabstop>
147 <tabstop>catalogFilePicker</tabstop>
148 <tabstop>markersEdit</tabstop>
149 </tabstops>
150 <resources/>
151 <connections>
152 <connection>
153 <sender>buttonBox</sender>
154 <signal>accepted()</signal>
155 <receiver>PyBabelConfigDialog</receiver>
156 <slot>accept()</slot>
157 <hints>
158 <hint type="sourcelabel">
159 <x>248</x>
160 <y>254</y>
161 </hint>
162 <hint type="destinationlabel">
163 <x>157</x>
164 <y>274</y>
165 </hint>
166 </hints>
167 </connection>
168 <connection>
169 <sender>buttonBox</sender>
170 <signal>rejected()</signal>
171 <receiver>PyBabelConfigDialog</receiver>
172 <slot>reject()</slot>
173 <hints>
174 <hint type="sourcelabel">
175 <x>316</x>
176 <y>260</y>
177 </hint>
178 <hint type="destinationlabel">
179 <x>286</x>
180 <y>274</y>
181 </hint>
182 </hints>
183 </connection>
184 </connections>
185 </ui>

eric ide

mercurial