1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>PipFreezeDialog</class> |
|
4 <widget class="QDialog" name="PipFreezeDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>550</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Generate Requirements</string> |
|
15 </property> |
|
16 <property name="toolTip"> |
|
17 <string>Replace the current selection with the requirements text</string> |
|
18 </property> |
|
19 <property name="sizeGripEnabled"> |
|
20 <bool>true</bool> |
|
21 </property> |
|
22 <layout class="QVBoxLayout" name="verticalLayout"> |
|
23 <item> |
|
24 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
25 <item> |
|
26 <widget class="QLabel" name="label_2"> |
|
27 <property name="text"> |
|
28 <string>Virtual Environment:</string> |
|
29 </property> |
|
30 </widget> |
|
31 </item> |
|
32 <item> |
|
33 <widget class="QComboBox" name="venvComboBox"> |
|
34 <property name="sizePolicy"> |
|
35 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
36 <horstretch>0</horstretch> |
|
37 <verstretch>0</verstretch> |
|
38 </sizepolicy> |
|
39 </property> |
|
40 <property name="toolTip"> |
|
41 <string>Select the virtual environment to be used</string> |
|
42 </property> |
|
43 </widget> |
|
44 </item> |
|
45 </layout> |
|
46 </item> |
|
47 <item> |
|
48 <widget class="QCheckBox" name="localCheckBox"> |
|
49 <property name="toolTip"> |
|
50 <string>Select to show requirements for locally-installed packages only</string> |
|
51 </property> |
|
52 <property name="text"> |
|
53 <string>Local packages only</string> |
|
54 </property> |
|
55 <property name="checked"> |
|
56 <bool>true</bool> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item> |
|
61 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
62 <item> |
|
63 <widget class="QLabel" name="label"> |
|
64 <property name="text"> |
|
65 <string>Requirements File:</string> |
|
66 </property> |
|
67 </widget> |
|
68 </item> |
|
69 <item> |
|
70 <widget class="E5PathPicker" name="requirementsFilePicker" native="true"> |
|
71 <property name="sizePolicy"> |
|
72 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
73 <horstretch>0</horstretch> |
|
74 <verstretch>0</verstretch> |
|
75 </sizepolicy> |
|
76 </property> |
|
77 <property name="focusPolicy"> |
|
78 <enum>Qt::StrongFocus</enum> |
|
79 </property> |
|
80 </widget> |
|
81 </item> |
|
82 </layout> |
|
83 </item> |
|
84 <item> |
|
85 <layout class="QGridLayout" name="gridLayout"> |
|
86 <item row="0" column="1"> |
|
87 <widget class="QPushButton" name="saveButton"> |
|
88 <property name="toolTip"> |
|
89 <string>Press to save to the requirements file</string> |
|
90 </property> |
|
91 <property name="text"> |
|
92 <string>Save</string> |
|
93 </property> |
|
94 </widget> |
|
95 </item> |
|
96 <item row="1" column="1"> |
|
97 <widget class="QPushButton" name="saveToButton"> |
|
98 <property name="toolTip"> |
|
99 <string>Save to a new file</string> |
|
100 </property> |
|
101 <property name="text"> |
|
102 <string>Save To</string> |
|
103 </property> |
|
104 </widget> |
|
105 </item> |
|
106 <item row="2" column="1"> |
|
107 <widget class="QPushButton" name="copyButton"> |
|
108 <property name="toolTip"> |
|
109 <string>Copy the requirements text to the clipboard</string> |
|
110 </property> |
|
111 <property name="text"> |
|
112 <string>Copy</string> |
|
113 </property> |
|
114 </widget> |
|
115 </item> |
|
116 <item row="3" column="1"> |
|
117 <widget class="QPushButton" name="insertButton"> |
|
118 <property name="toolTip"> |
|
119 <string>Insert the requirements text at the cursor position</string> |
|
120 </property> |
|
121 <property name="text"> |
|
122 <string>Insert</string> |
|
123 </property> |
|
124 </widget> |
|
125 </item> |
|
126 <item row="4" column="1"> |
|
127 <widget class="QPushButton" name="replaceSelectionButton"> |
|
128 <property name="text"> |
|
129 <string>Replace Selection</string> |
|
130 </property> |
|
131 </widget> |
|
132 </item> |
|
133 <item row="5" column="1"> |
|
134 <widget class="QPushButton" name="replaceAllButton"> |
|
135 <property name="toolTip"> |
|
136 <string>Replace all text with the requirements text</string> |
|
137 </property> |
|
138 <property name="text"> |
|
139 <string>Replace All</string> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 <item row="6" column="1"> |
|
144 <spacer name="verticalSpacer"> |
|
145 <property name="orientation"> |
|
146 <enum>Qt::Vertical</enum> |
|
147 </property> |
|
148 <property name="sizeHint" stdset="0"> |
|
149 <size> |
|
150 <width>20</width> |
|
151 <height>40</height> |
|
152 </size> |
|
153 </property> |
|
154 </spacer> |
|
155 </item> |
|
156 <item row="0" column="0" rowspan="7"> |
|
157 <widget class="QPlainTextEdit" name="requirementsEdit"> |
|
158 <property name="tabChangesFocus"> |
|
159 <bool>true</bool> |
|
160 </property> |
|
161 </widget> |
|
162 </item> |
|
163 </layout> |
|
164 </item> |
|
165 <item> |
|
166 <widget class="QDialogButtonBox" name="buttonBox"> |
|
167 <property name="orientation"> |
|
168 <enum>Qt::Horizontal</enum> |
|
169 </property> |
|
170 <property name="standardButtons"> |
|
171 <set>QDialogButtonBox::Close</set> |
|
172 </property> |
|
173 </widget> |
|
174 </item> |
|
175 </layout> |
|
176 </widget> |
|
177 <customwidgets> |
|
178 <customwidget> |
|
179 <class>E5PathPicker</class> |
|
180 <extends>QWidget</extends> |
|
181 <header>E5Gui/E5PathPicker.h</header> |
|
182 <container>1</container> |
|
183 </customwidget> |
|
184 </customwidgets> |
|
185 <tabstops> |
|
186 <tabstop>venvComboBox</tabstop> |
|
187 <tabstop>localCheckBox</tabstop> |
|
188 <tabstop>requirementsFilePicker</tabstop> |
|
189 <tabstop>requirementsEdit</tabstop> |
|
190 <tabstop>saveButton</tabstop> |
|
191 <tabstop>saveToButton</tabstop> |
|
192 <tabstop>copyButton</tabstop> |
|
193 <tabstop>insertButton</tabstop> |
|
194 <tabstop>replaceSelectionButton</tabstop> |
|
195 <tabstop>replaceAllButton</tabstop> |
|
196 </tabstops> |
|
197 <resources/> |
|
198 <connections> |
|
199 <connection> |
|
200 <sender>buttonBox</sender> |
|
201 <signal>accepted()</signal> |
|
202 <receiver>PipFreezeDialog</receiver> |
|
203 <slot>accept()</slot> |
|
204 <hints> |
|
205 <hint type="sourcelabel"> |
|
206 <x>248</x> |
|
207 <y>254</y> |
|
208 </hint> |
|
209 <hint type="destinationlabel"> |
|
210 <x>157</x> |
|
211 <y>274</y> |
|
212 </hint> |
|
213 </hints> |
|
214 </connection> |
|
215 <connection> |
|
216 <sender>buttonBox</sender> |
|
217 <signal>rejected()</signal> |
|
218 <receiver>PipFreezeDialog</receiver> |
|
219 <slot>reject()</slot> |
|
220 <hints> |
|
221 <hint type="sourcelabel"> |
|
222 <x>316</x> |
|
223 <y>260</y> |
|
224 </hint> |
|
225 <hint type="destinationlabel"> |
|
226 <x>286</x> |
|
227 <y>274</y> |
|
228 </hint> |
|
229 </hints> |
|
230 </connection> |
|
231 </connections> |
|
232 </ui> |
|