|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>RequirementsDialog</class> |
|
4 <widget class="QDialog" name="RequirementsDialog"> |
|
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"> |
|
25 <item> |
|
26 <widget class="QLabel" name="label"> |
|
27 <property name="text"> |
|
28 <string>Requirements File:</string> |
|
29 </property> |
|
30 </widget> |
|
31 </item> |
|
32 <item> |
|
33 <widget class="EricPathPicker" name="requirementsFilePicker" native="true"> |
|
34 <property name="sizePolicy"> |
|
35 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
36 <horstretch>0</horstretch> |
|
37 <verstretch>0</verstretch> |
|
38 </sizepolicy> |
|
39 </property> |
|
40 <property name="focusPolicy"> |
|
41 <enum>Qt::StrongFocus</enum> |
|
42 </property> |
|
43 </widget> |
|
44 </item> |
|
45 </layout> |
|
46 </item> |
|
47 <item> |
|
48 <layout class="QGridLayout" name="gridLayout"> |
|
49 <item row="3" column="1"> |
|
50 <widget class="Line" name="line"> |
|
51 <property name="orientation"> |
|
52 <enum>Qt::Horizontal</enum> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 <item row="2" column="1"> |
|
57 <widget class="QPushButton" name="copyButton"> |
|
58 <property name="toolTip"> |
|
59 <string>Copy the requirements text to the clipboard</string> |
|
60 </property> |
|
61 <property name="text"> |
|
62 <string>Copy</string> |
|
63 </property> |
|
64 </widget> |
|
65 </item> |
|
66 <item row="0" column="1"> |
|
67 <widget class="QPushButton" name="saveButton"> |
|
68 <property name="toolTip"> |
|
69 <string>Press to save to the requirements file</string> |
|
70 </property> |
|
71 <property name="text"> |
|
72 <string>Save</string> |
|
73 </property> |
|
74 </widget> |
|
75 </item> |
|
76 <item row="5" column="1"> |
|
77 <widget class="QPushButton" name="insertButton"> |
|
78 <property name="toolTip"> |
|
79 <string>Insert the requirements text at the cursor position</string> |
|
80 </property> |
|
81 <property name="text"> |
|
82 <string>Insert</string> |
|
83 </property> |
|
84 </widget> |
|
85 </item> |
|
86 <item row="6" column="1"> |
|
87 <widget class="QPushButton" name="replaceSelectionButton"> |
|
88 <property name="text"> |
|
89 <string>Replace Selection</string> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 <item row="0" column="0" rowspan="9"> |
|
94 <widget class="QPlainTextEdit" name="requirementsEdit"> |
|
95 <property name="tabChangesFocus"> |
|
96 <bool>true</bool> |
|
97 </property> |
|
98 </widget> |
|
99 </item> |
|
100 <item row="7" column="1"> |
|
101 <widget class="QPushButton" name="replaceAllButton"> |
|
102 <property name="toolTip"> |
|
103 <string>Replace all text with the requirements text</string> |
|
104 </property> |
|
105 <property name="text"> |
|
106 <string>Replace All</string> |
|
107 </property> |
|
108 </widget> |
|
109 </item> |
|
110 <item row="8" column="1"> |
|
111 <spacer name="verticalSpacer"> |
|
112 <property name="orientation"> |
|
113 <enum>Qt::Vertical</enum> |
|
114 </property> |
|
115 <property name="sizeHint" stdset="0"> |
|
116 <size> |
|
117 <width>20</width> |
|
118 <height>40</height> |
|
119 </size> |
|
120 </property> |
|
121 </spacer> |
|
122 </item> |
|
123 <item row="1" column="1"> |
|
124 <widget class="QPushButton" name="saveToButton"> |
|
125 <property name="toolTip"> |
|
126 <string>Save to a new file</string> |
|
127 </property> |
|
128 <property name="text"> |
|
129 <string>Save To</string> |
|
130 </property> |
|
131 </widget> |
|
132 </item> |
|
133 <item row="4" column="1"> |
|
134 <widget class="QLabel" name="label_2"> |
|
135 <property name="text"> |
|
136 <string><b>Editor Actions</b></string> |
|
137 </property> |
|
138 <property name="alignment"> |
|
139 <set>Qt::AlignCenter</set> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 </layout> |
|
144 </item> |
|
145 <item> |
|
146 <widget class="QDialogButtonBox" name="buttonBox"> |
|
147 <property name="orientation"> |
|
148 <enum>Qt::Horizontal</enum> |
|
149 </property> |
|
150 <property name="standardButtons"> |
|
151 <set>QDialogButtonBox::Close</set> |
|
152 </property> |
|
153 </widget> |
|
154 </item> |
|
155 </layout> |
|
156 </widget> |
|
157 <customwidgets> |
|
158 <customwidget> |
|
159 <class>EricPathPicker</class> |
|
160 <extends>QWidget</extends> |
|
161 <header>eric7/EricWidgets/EricPathPicker.h</header> |
|
162 <container>1</container> |
|
163 </customwidget> |
|
164 </customwidgets> |
|
165 <tabstops> |
|
166 <tabstop>requirementsFilePicker</tabstop> |
|
167 <tabstop>requirementsEdit</tabstop> |
|
168 <tabstop>saveButton</tabstop> |
|
169 <tabstop>saveToButton</tabstop> |
|
170 <tabstop>copyButton</tabstop> |
|
171 <tabstop>insertButton</tabstop> |
|
172 <tabstop>replaceSelectionButton</tabstop> |
|
173 <tabstop>replaceAllButton</tabstop> |
|
174 </tabstops> |
|
175 <resources/> |
|
176 <connections> |
|
177 <connection> |
|
178 <sender>buttonBox</sender> |
|
179 <signal>accepted()</signal> |
|
180 <receiver>RequirementsDialog</receiver> |
|
181 <slot>accept()</slot> |
|
182 <hints> |
|
183 <hint type="sourcelabel"> |
|
184 <x>248</x> |
|
185 <y>254</y> |
|
186 </hint> |
|
187 <hint type="destinationlabel"> |
|
188 <x>157</x> |
|
189 <y>274</y> |
|
190 </hint> |
|
191 </hints> |
|
192 </connection> |
|
193 <connection> |
|
194 <sender>buttonBox</sender> |
|
195 <signal>rejected()</signal> |
|
196 <receiver>RequirementsDialog</receiver> |
|
197 <slot>reject()</slot> |
|
198 <hints> |
|
199 <hint type="sourcelabel"> |
|
200 <x>316</x> |
|
201 <y>260</y> |
|
202 </hint> |
|
203 <hint type="destinationlabel"> |
|
204 <x>286</x> |
|
205 <y>274</y> |
|
206 </hint> |
|
207 </hints> |
|
208 </connection> |
|
209 </connections> |
|
210 </ui> |