|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>AddDirectoryDialog</class> |
|
4 <widget class="QDialog" name="AddDirectoryDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>391</width> |
|
10 <height>141</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Add Directory</string> |
|
15 </property> |
|
16 <property name="toolTip"> |
|
17 <string>Add a directory to the current project</string> |
|
18 </property> |
|
19 <property name="whatsThis"> |
|
20 <string><b>Add Directory Dialog</b> |
|
21 <p>This dialog is used to add a directory to the current project.</p></string> |
|
22 </property> |
|
23 <property name="sizeGripEnabled"> |
|
24 <bool>true</bool> |
|
25 </property> |
|
26 <layout class="QGridLayout" name="gridLayout"> |
|
27 <item row="0" column="0"> |
|
28 <widget class="QLabel" name="textLabel1"> |
|
29 <property name="text"> |
|
30 <string>&File Type:</string> |
|
31 </property> |
|
32 <property name="buddy"> |
|
33 <cstring>filterComboBox</cstring> |
|
34 </property> |
|
35 </widget> |
|
36 </item> |
|
37 <item row="0" column="1"> |
|
38 <widget class="QComboBox" name="filterComboBox"/> |
|
39 </item> |
|
40 <item row="1" column="0"> |
|
41 <widget class="QLabel" name="sourceDirLabel"> |
|
42 <property name="text"> |
|
43 <string>&Source Directory:</string> |
|
44 </property> |
|
45 <property name="buddy"> |
|
46 <cstring>sourceDirPicker</cstring> |
|
47 </property> |
|
48 </widget> |
|
49 </item> |
|
50 <item row="1" column="1"> |
|
51 <widget class="EricPathPicker" name="sourceDirPicker" 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 to add</string> |
|
63 </property> |
|
64 <property name="whatsThis"> |
|
65 <string><b>Source Directory</b> |
|
66 <p>Enter the name of the directory to add to the current project. |
|
67 You may select it with a dialog by pressing the button to the right.</p></string> |
|
68 </property> |
|
69 </widget> |
|
70 </item> |
|
71 <item row="2" column="0"> |
|
72 <widget class="QLabel" name="targetDirLabel"> |
|
73 <property name="text"> |
|
74 <string>&Target Directory:</string> |
|
75 </property> |
|
76 <property name="buddy"> |
|
77 <cstring>targetDirPicker</cstring> |
|
78 </property> |
|
79 </widget> |
|
80 </item> |
|
81 <item row="2" column="1"> |
|
82 <widget class="EricPathPicker" name="targetDirPicker" native="true"> |
|
83 <property name="sizePolicy"> |
|
84 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
85 <horstretch>0</horstretch> |
|
86 <verstretch>0</verstretch> |
|
87 </sizepolicy> |
|
88 </property> |
|
89 <property name="focusPolicy"> |
|
90 <enum>Qt::StrongFocus</enum> |
|
91 </property> |
|
92 <property name="toolTip"> |
|
93 <string>Enter the target directory for the file</string> |
|
94 </property> |
|
95 <property name="whatsThis"> |
|
96 <string><b>Target Directory</b> |
|
97 <p>Enter the target directory. You may select it |
|
98 with a dialog by pressing the button to the right.</p></string> |
|
99 </property> |
|
100 </widget> |
|
101 </item> |
|
102 <item row="3" column="0" colspan="2"> |
|
103 <widget class="QCheckBox" name="recursiveCheckBox"> |
|
104 <property name="toolTip"> |
|
105 <string>Select, whether a recursive add should be performed</string> |
|
106 </property> |
|
107 <property name="text"> |
|
108 <string>&Recurse into subdirectories</string> |
|
109 </property> |
|
110 </widget> |
|
111 </item> |
|
112 <item row="4" column="0" colspan="2"> |
|
113 <widget class="QDialogButtonBox" name="buttonBox"> |
|
114 <property name="orientation"> |
|
115 <enum>Qt::Horizontal</enum> |
|
116 </property> |
|
117 <property name="standardButtons"> |
|
118 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
119 </property> |
|
120 </widget> |
|
121 </item> |
|
122 </layout> |
|
123 </widget> |
|
124 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
125 <customwidgets> |
|
126 <customwidget> |
|
127 <class>EricPathPicker</class> |
|
128 <extends>QWidget</extends> |
|
129 <header>EricWidgets/EricPathPicker.h</header> |
|
130 <container>1</container> |
|
131 </customwidget> |
|
132 </customwidgets> |
|
133 <tabstops> |
|
134 <tabstop>filterComboBox</tabstop> |
|
135 <tabstop>sourceDirPicker</tabstop> |
|
136 <tabstop>targetDirPicker</tabstop> |
|
137 <tabstop>recursiveCheckBox</tabstop> |
|
138 </tabstops> |
|
139 <resources/> |
|
140 <connections> |
|
141 <connection> |
|
142 <sender>buttonBox</sender> |
|
143 <signal>accepted()</signal> |
|
144 <receiver>AddDirectoryDialog</receiver> |
|
145 <slot>accept()</slot> |
|
146 <hints> |
|
147 <hint type="sourcelabel"> |
|
148 <x>29</x> |
|
149 <y>126</y> |
|
150 </hint> |
|
151 <hint type="destinationlabel"> |
|
152 <x>30</x> |
|
153 <y>153</y> |
|
154 </hint> |
|
155 </hints> |
|
156 </connection> |
|
157 <connection> |
|
158 <sender>buttonBox</sender> |
|
159 <signal>rejected()</signal> |
|
160 <receiver>AddDirectoryDialog</receiver> |
|
161 <slot>reject()</slot> |
|
162 <hints> |
|
163 <hint type="sourcelabel"> |
|
164 <x>111</x> |
|
165 <y>131</y> |
|
166 </hint> |
|
167 <hint type="destinationlabel"> |
|
168 <x>112</x> |
|
169 <y>152</y> |
|
170 </hint> |
|
171 </hints> |
|
172 </connection> |
|
173 </connections> |
|
174 </ui> |