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