|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>AddProjectDialog</class> |
|
4 <widget class="QDialog" name="AddProjectDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>569</width> |
|
10 <height>378</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Add Project</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>&Name:</string> |
|
24 </property> |
|
25 <property name="buddy"> |
|
26 <cstring>nameEdit</cstring> |
|
27 </property> |
|
28 </widget> |
|
29 </item> |
|
30 <item row="0" column="1"> |
|
31 <widget class="QLineEdit" name="nameEdit"> |
|
32 <property name="toolTip"> |
|
33 <string>Enter the name of the project</string> |
|
34 </property> |
|
35 </widget> |
|
36 </item> |
|
37 <item row="1" column="0"> |
|
38 <widget class="QLabel" name="label_2"> |
|
39 <property name="text"> |
|
40 <string>Project&file:</string> |
|
41 </property> |
|
42 <property name="buddy"> |
|
43 <cstring>filenamePicker</cstring> |
|
44 </property> |
|
45 </widget> |
|
46 </item> |
|
47 <item row="1" column="1"> |
|
48 <widget class="EricPathPicker" name="filenamePicker" native="true"> |
|
49 <property name="sizePolicy"> |
|
50 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
51 <horstretch>0</horstretch> |
|
52 <verstretch>0</verstretch> |
|
53 </sizepolicy> |
|
54 </property> |
|
55 <property name="focusPolicy"> |
|
56 <enum>Qt::StrongFocus</enum> |
|
57 </property> |
|
58 <property name="toolTip"> |
|
59 <string>Enter the name of the project file</string> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item row="2" column="0"> |
|
64 <widget class="QLabel" name="label_3"> |
|
65 <property name="text"> |
|
66 <string>&Description:</string> |
|
67 </property> |
|
68 <property name="alignment"> |
|
69 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
70 </property> |
|
71 <property name="buddy"> |
|
72 <cstring>descriptionEdit</cstring> |
|
73 </property> |
|
74 </widget> |
|
75 </item> |
|
76 <item row="2" column="1"> |
|
77 <widget class="EricSpellCheckedTextEdit" name="descriptionEdit"> |
|
78 <property name="toolTip"> |
|
79 <string>Enter a short description for the project</string> |
|
80 </property> |
|
81 <property name="tabChangesFocus"> |
|
82 <bool>true</bool> |
|
83 </property> |
|
84 <property name="acceptRichText"> |
|
85 <bool>false</bool> |
|
86 </property> |
|
87 </widget> |
|
88 </item> |
|
89 <item row="3" column="0"> |
|
90 <widget class="QLabel" name="label_4"> |
|
91 <property name="text"> |
|
92 <string>&Category:</string> |
|
93 </property> |
|
94 <property name="buddy"> |
|
95 <cstring>categoryComboBox</cstring> |
|
96 </property> |
|
97 </widget> |
|
98 </item> |
|
99 <item row="3" column="1"> |
|
100 <widget class="QComboBox" name="categoryComboBox"> |
|
101 <property name="toolTip"> |
|
102 <string>Select a project category</string> |
|
103 </property> |
|
104 <property name="editable"> |
|
105 <bool>true</bool> |
|
106 </property> |
|
107 </widget> |
|
108 </item> |
|
109 <item row="4" column="0" colspan="2"> |
|
110 <widget class="QCheckBox" name="masterCheckBox"> |
|
111 <property name="toolTip"> |
|
112 <string>Select to make this project the main project</string> |
|
113 </property> |
|
114 <property name="text"> |
|
115 <string>Is &main project</string> |
|
116 </property> |
|
117 </widget> |
|
118 </item> |
|
119 <item row="5" column="0" colspan="2"> |
|
120 <widget class="QDialogButtonBox" name="buttonBox"> |
|
121 <property name="orientation"> |
|
122 <enum>Qt::Horizontal</enum> |
|
123 </property> |
|
124 <property name="standardButtons"> |
|
125 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
126 </property> |
|
127 </widget> |
|
128 </item> |
|
129 </layout> |
|
130 </widget> |
|
131 <customwidgets> |
|
132 <customwidget> |
|
133 <class>EricPathPicker</class> |
|
134 <extends>QWidget</extends> |
|
135 <header>EricWidgets/EricPathPicker.h</header> |
|
136 <container>1</container> |
|
137 </customwidget> |
|
138 <customwidget> |
|
139 <class>EricSpellCheckedTextEdit</class> |
|
140 <extends>QTextEdit</extends> |
|
141 <header>EricWidgets/EricSpellCheckedTextEdit.h</header> |
|
142 </customwidget> |
|
143 </customwidgets> |
|
144 <tabstops> |
|
145 <tabstop>nameEdit</tabstop> |
|
146 <tabstop>filenamePicker</tabstop> |
|
147 <tabstop>descriptionEdit</tabstop> |
|
148 <tabstop>categoryComboBox</tabstop> |
|
149 <tabstop>masterCheckBox</tabstop> |
|
150 </tabstops> |
|
151 <resources/> |
|
152 <connections> |
|
153 <connection> |
|
154 <sender>buttonBox</sender> |
|
155 <signal>accepted()</signal> |
|
156 <receiver>AddProjectDialog</receiver> |
|
157 <slot>accept()</slot> |
|
158 <hints> |
|
159 <hint type="sourcelabel"> |
|
160 <x>248</x> |
|
161 <y>254</y> |
|
162 </hint> |
|
163 <hint type="destinationlabel"> |
|
164 <x>157</x> |
|
165 <y>274</y> |
|
166 </hint> |
|
167 </hints> |
|
168 </connection> |
|
169 <connection> |
|
170 <sender>buttonBox</sender> |
|
171 <signal>rejected()</signal> |
|
172 <receiver>AddProjectDialog</receiver> |
|
173 <slot>reject()</slot> |
|
174 <hints> |
|
175 <hint type="sourcelabel"> |
|
176 <x>316</x> |
|
177 <y>260</y> |
|
178 </hint> |
|
179 <hint type="destinationlabel"> |
|
180 <x>286</x> |
|
181 <y>274</y> |
|
182 </hint> |
|
183 </hints> |
|
184 </connection> |
|
185 </connections> |
|
186 </ui> |