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