eric7/MultiProject/AddProjectDialog.ui

branch
eric7
changeset 8312
800c432b34c8
parent 6942
2602857055c5
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8311:4e8b98454baa 8312:800c432b34c8
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>&amp;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&amp;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="E5PathPicker" 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>&amp;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="QTextEdit" 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>&amp;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 &amp;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>E5PathPicker</class>
134 <extends>QWidget</extends>
135 <header>E5Gui/E5PathPicker.h</header>
136 <container>1</container>
137 </customwidget>
138 </customwidgets>
139 <tabstops>
140 <tabstop>nameEdit</tabstop>
141 <tabstop>filenamePicker</tabstop>
142 <tabstop>descriptionEdit</tabstop>
143 <tabstop>categoryComboBox</tabstop>
144 <tabstop>masterCheckBox</tabstop>
145 </tabstops>
146 <resources/>
147 <connections>
148 <connection>
149 <sender>buttonBox</sender>
150 <signal>accepted()</signal>
151 <receiver>AddProjectDialog</receiver>
152 <slot>accept()</slot>
153 <hints>
154 <hint type="sourcelabel">
155 <x>248</x>
156 <y>254</y>
157 </hint>
158 <hint type="destinationlabel">
159 <x>157</x>
160 <y>274</y>
161 </hint>
162 </hints>
163 </connection>
164 <connection>
165 <sender>buttonBox</sender>
166 <signal>rejected()</signal>
167 <receiver>AddProjectDialog</receiver>
168 <slot>reject()</slot>
169 <hints>
170 <hint type="sourcelabel">
171 <x>316</x>
172 <y>260</y>
173 </hint>
174 <hint type="destinationlabel">
175 <x>286</x>
176 <y>274</y>
177 </hint>
178 </hints>
179 </connection>
180 </connections>
181 </ui>

eric ide

mercurial