Project/AddFileDialog.ui

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

eric ide

mercurial