~ubuntu-branches/ubuntu/wily/tora/wily-proposed

« back to all changes in this revision

Viewing changes to src/totemplateaddfileui.ui

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-04-07 13:16:05 UTC
  • mfrom: (1.2.7 upstream) (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090407131605-u422yigfv7jgg0l0
Tags: 2.0.0-3
* Cleaned up packaging a little bit.
* Added homepage information to control file.
* Bumped Standards-Version to 3.8.1.
* Released to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE UI><UI>
2
 
<class>toTemplateAddFileUI</class>
3
 
<widget>
4
 
    <class>QDialog</class>
5
 
    <property stdset="1">
6
 
        <name>name</name>
7
 
        <cstring>toTemplateAddFileUI</cstring>
8
 
    </property>
9
 
    <property stdset="1">
10
 
        <name>geometry</name>
11
 
        <rect>
12
 
            <x>0</x>
13
 
            <y>0</y>
14
 
            <width>438</width>
15
 
            <height>164</height>
16
 
        </rect>
17
 
    </property>
18
 
    <property stdset="1">
19
 
        <name>caption</name>
20
 
        <string>Add template file</string>
21
 
    </property>
22
 
    <grid>
23
 
        <property stdset="1">
24
 
            <name>margin</name>
25
 
            <number>11</number>
26
 
        </property>
27
 
        <property stdset="1">
28
 
            <name>spacing</name>
29
 
            <number>6</number>
30
 
        </property>
31
 
        <widget row="3"  column="0"  rowspan="1"  colspan="3" >
32
 
            <class>QLineEdit</class>
33
 
            <property stdset="1">
34
 
                <name>name</name>
35
 
                <cstring>Filename</cstring>
36
 
            </property>
37
 
        </widget>
38
 
        <widget row="3"  column="4" >
39
 
            <class>QPushButton</class>
40
 
            <property stdset="1">
41
 
                <name>name</name>
42
 
                <cstring>Browse</cstring>
43
 
            </property>
44
 
            <property stdset="1">
45
 
                <name>text</name>
46
 
                <string>&amp;Browse</string>
47
 
            </property>
48
 
        </widget>
49
 
        <widget row="1"  column="0"  rowspan="1"  colspan="5" >
50
 
            <class>QLineEdit</class>
51
 
            <property stdset="1">
52
 
                <name>name</name>
53
 
                <cstring>Root</cstring>
54
 
            </property>
55
 
        </widget>
56
 
        <widget row="4"  column="0"  rowspan="1"  colspan="2" >
57
 
            <class>Line</class>
58
 
            <property stdset="1">
59
 
                <name>name</name>
60
 
                <cstring>Line1</cstring>
61
 
            </property>
62
 
            <property stdset="1">
63
 
                <name>orientation</name>
64
 
                <enum>Horizontal</enum>
65
 
            </property>
66
 
        </widget>
67
 
        <widget row="4"  column="4"  rowspan="2"  colspan="1" >
68
 
            <class>QPushButton</class>
69
 
            <property stdset="1">
70
 
                <name>name</name>
71
 
                <cstring>PushButton2_2</cstring>
72
 
            </property>
73
 
            <property stdset="1">
74
 
                <name>text</name>
75
 
                <string>Canel</string>
76
 
            </property>
77
 
        </widget>
78
 
        <widget row="4"  column="2"  rowspan="2"  colspan="1" >
79
 
            <class>QPushButton</class>
80
 
            <property stdset="1">
81
 
                <name>name</name>
82
 
                <cstring>OkButton</cstring>
83
 
            </property>
84
 
            <property stdset="1">
85
 
                <name>text</name>
86
 
                <string>&amp;Ok</string>
87
 
            </property>
88
 
            <property stdset="1">
89
 
                <name>default</name>
90
 
                <bool>true</bool>
91
 
            </property>
92
 
        </widget>
93
 
        <widget row="2"  column="0"  rowspan="1"  colspan="5" >
94
 
            <class>QLabel</class>
95
 
            <property stdset="1">
96
 
                <name>name</name>
97
 
                <cstring>TextLabel1_2</cstring>
98
 
            </property>
99
 
            <property stdset="1">
100
 
                <name>text</name>
101
 
                <string>&amp;File</string>
102
 
            </property>
103
 
            <property>
104
 
                <name>buddy</name>
105
 
                <cstring>Root</cstring>
106
 
            </property>
107
 
        </widget>
108
 
        <widget row="0"  column="0"  rowspan="1"  colspan="5" >
109
 
            <class>QLabel</class>
110
 
            <property stdset="1">
111
 
                <name>name</name>
112
 
                <cstring>TextLabel1</cstring>
113
 
            </property>
114
 
            <property stdset="1">
115
 
                <name>text</name>
116
 
                <string>&amp;Root</string>
117
 
            </property>
118
 
            <property>
119
 
                <name>buddy</name>
120
 
                <cstring>Root</cstring>
121
 
            </property>
122
 
        </widget>
123
 
        <spacer row="5"  column="1" >
124
 
            <property>
125
 
                <name>name</name>
126
 
                <cstring>Spacer1</cstring>
127
 
            </property>
128
 
            <property stdset="1">
129
 
                <name>orientation</name>
130
 
                <enum>Horizontal</enum>
131
 
            </property>
132
 
            <property stdset="1">
133
 
                <name>sizeType</name>
134
 
                <enum>Expanding</enum>
135
 
            </property>
136
 
            <property>
137
 
                <name>sizeHint</name>
138
 
                <size>
139
 
                    <width>20</width>
140
 
                    <height>20</height>
141
 
                </size>
142
 
            </property>
143
 
        </spacer>
144
 
    </grid>
145
 
</widget>
146
 
<connections>
147
 
    <connection>
148
 
        <sender>OkButton</sender>
149
 
        <signal>clicked()</signal>
150
 
        <receiver>toTemplateAddFileUI</receiver>
151
 
        <slot>accept()</slot>
152
 
    </connection>
153
 
    <connection>
154
 
        <sender>PushButton2_2</sender>
155
 
        <signal>clicked()</signal>
156
 
        <receiver>toTemplateAddFileUI</receiver>
157
 
        <slot>reject()</slot>
158
 
    </connection>
159
 
    <connection>
160
 
        <sender>Browse</sender>
161
 
        <signal>clicked()</signal>
162
 
        <receiver>toTemplateAddFileUI</receiver>
163
 
        <slot>browse()</slot>
164
 
    </connection>
165
 
    <connection>
166
 
        <sender>Root</sender>
167
 
        <signal>textChanged(const QString&amp;)</signal>
168
 
        <receiver>toTemplateAddFileUI</receiver>
169
 
        <slot>valid()</slot>
170
 
    </connection>
171
 
    <connection>
172
 
        <sender>Filename</sender>
173
 
        <signal>textChanged(const QString&amp;)</signal>
174
 
        <receiver>toTemplateAddFileUI</receiver>
175
 
        <slot>valid()</slot>
176
 
    </connection>
177
 
    <slot access="public">browse()</slot>
178
 
    <slot access="public">valid()</slot>
179
 
</connections>
180
 
<tabstops>
181
 
    <tabstop>Root</tabstop>
182
 
    <tabstop>Filename</tabstop>
183
 
    <tabstop>Browse</tabstop>
184
 
    <tabstop>OkButton</tabstop>
185
 
    <tabstop>PushButton2_2</tabstop>
186
 
</tabstops>
187
 
</UI>
 
1
<ui version="4.0" >
 
2
 <class>toTemplateAddFileUI</class>
 
3
 <widget class="QDialog" name="toTemplateAddFileUI" >
 
4
  <property name="geometry" >
 
5
   <rect>
 
6
    <x>0</x>
 
7
    <y>0</y>
 
8
    <width>438</width>
 
9
    <height>164</height>
 
10
   </rect>
 
11
  </property>
 
12
  <property name="windowTitle" >
 
13
   <string>Add template file</string>
 
14
  </property>
 
15
  <layout class="QGridLayout" >
 
16
   <property name="leftMargin" >
 
17
    <number>11</number>
 
18
   </property>
 
19
   <property name="topMargin" >
 
20
    <number>11</number>
 
21
   </property>
 
22
   <property name="rightMargin" >
 
23
    <number>11</number>
 
24
   </property>
 
25
   <property name="bottomMargin" >
 
26
    <number>11</number>
 
27
   </property>
 
28
   <property name="horizontalSpacing" >
 
29
    <number>6</number>
 
30
   </property>
 
31
   <property name="verticalSpacing" >
 
32
    <number>6</number>
 
33
   </property>
 
34
   <item row="3" column="0" colspan="3" >
 
35
    <widget class="QLineEdit" name="Filename" />
 
36
   </item>
 
37
   <item row="3" column="4" >
 
38
    <widget class="QPushButton" name="Browse" >
 
39
     <property name="text" >
 
40
      <string>&amp;Browse</string>
 
41
     </property>
 
42
    </widget>
 
43
   </item>
 
44
   <item row="1" column="0" colspan="5" >
 
45
    <widget class="QLineEdit" name="Root" />
 
46
   </item>
 
47
   <item row="4" column="0" colspan="2" >
 
48
    <widget class="Line" name="Line1" />
 
49
   </item>
 
50
   <item rowspan="2" row="4" column="4" >
 
51
    <widget class="QPushButton" name="PushButton2_2" >
 
52
     <property name="text" >
 
53
      <string>Cancel</string>
 
54
     </property>
 
55
    </widget>
 
56
   </item>
 
57
   <item rowspan="2" row="4" column="2" >
 
58
    <widget class="QPushButton" name="OkButton" >
 
59
     <property name="text" >
 
60
      <string>&amp;Ok</string>
 
61
     </property>
 
62
     <property name="default" >
 
63
      <bool>true</bool>
 
64
     </property>
 
65
    </widget>
 
66
   </item>
 
67
   <item row="2" column="0" colspan="5" >
 
68
    <widget class="QLabel" name="TextLabel1_2" >
 
69
     <property name="text" >
 
70
      <string>&amp;File</string>
 
71
     </property>
 
72
     <property name="wordWrap" >
 
73
      <bool>false</bool>
 
74
     </property>
 
75
     <property name="buddy" >
 
76
      <cstring>Root</cstring>
 
77
     </property>
 
78
    </widget>
 
79
   </item>
 
80
   <item row="0" column="0" colspan="5" >
 
81
    <widget class="QLabel" name="TextLabel1" >
 
82
     <property name="text" >
 
83
      <string>&amp;Root</string>
 
84
     </property>
 
85
     <property name="wordWrap" >
 
86
      <bool>false</bool>
 
87
     </property>
 
88
     <property name="buddy" >
 
89
      <cstring>Root</cstring>
 
90
     </property>
 
91
    </widget>
 
92
   </item>
 
93
   <item row="5" column="1" >
 
94
    <spacer>
 
95
     <property name="orientation" >
 
96
      <enum>Qt::Horizontal</enum>
 
97
     </property>
 
98
     <property name="sizeType" >
 
99
      <enum>QSizePolicy::Expanding</enum>
 
100
     </property>
 
101
     <property name="sizeHint" >
 
102
      <size>
 
103
       <width>20</width>
 
104
       <height>20</height>
 
105
      </size>
 
106
     </property>
 
107
    </spacer>
 
108
   </item>
 
109
  </layout>
 
110
 </widget>
 
111
 <tabstops>
 
112
  <tabstop>Root</tabstop>
 
113
  <tabstop>Filename</tabstop>
 
114
  <tabstop>Browse</tabstop>
 
115
  <tabstop>OkButton</tabstop>
 
116
  <tabstop>PushButton2_2</tabstop>
 
117
 </tabstops>
 
118
 <resources/>
 
119
 <connections>
 
120
  <connection>
 
121
   <sender>OkButton</sender>
 
122
   <signal>clicked()</signal>
 
123
   <receiver>toTemplateAddFileUI</receiver>
 
124
   <slot>accept()</slot>
 
125
   <hints>
 
126
    <hint type="sourcelabel" >
 
127
     <x>20</x>
 
128
     <y>20</y>
 
129
    </hint>
 
130
    <hint type="destinationlabel" >
 
131
     <x>20</x>
 
132
     <y>20</y>
 
133
    </hint>
 
134
   </hints>
 
135
  </connection>
 
136
  <connection>
 
137
   <sender>PushButton2_2</sender>
 
138
   <signal>clicked()</signal>
 
139
   <receiver>toTemplateAddFileUI</receiver>
 
140
   <slot>reject()</slot>
 
141
   <hints>
 
142
    <hint type="sourcelabel" >
 
143
     <x>20</x>
 
144
     <y>20</y>
 
145
    </hint>
 
146
    <hint type="destinationlabel" >
 
147
     <x>20</x>
 
148
     <y>20</y>
 
149
    </hint>
 
150
   </hints>
 
151
  </connection>
 
152
  <connection>
 
153
   <sender>Browse</sender>
 
154
   <signal>clicked()</signal>
 
155
   <receiver>toTemplateAddFileUI</receiver>
 
156
   <slot>browse()</slot>
 
157
   <hints>
 
158
    <hint type="sourcelabel" >
 
159
     <x>20</x>
 
160
     <y>20</y>
 
161
    </hint>
 
162
    <hint type="destinationlabel" >
 
163
     <x>20</x>
 
164
     <y>20</y>
 
165
    </hint>
 
166
   </hints>
 
167
  </connection>
 
168
  <connection>
 
169
   <sender>Root</sender>
 
170
   <signal>textChanged(QString)</signal>
 
171
   <receiver>toTemplateAddFileUI</receiver>
 
172
   <slot>valid()</slot>
 
173
   <hints>
 
174
    <hint type="sourcelabel" >
 
175
     <x>20</x>
 
176
     <y>20</y>
 
177
    </hint>
 
178
    <hint type="destinationlabel" >
 
179
     <x>20</x>
 
180
     <y>20</y>
 
181
    </hint>
 
182
   </hints>
 
183
  </connection>
 
184
  <connection>
 
185
   <sender>Filename</sender>
 
186
   <signal>textChanged(QString)</signal>
 
187
   <receiver>toTemplateAddFileUI</receiver>
 
188
   <slot>valid()</slot>
 
189
   <hints>
 
190
    <hint type="sourcelabel" >
 
191
     <x>20</x>
 
192
     <y>20</y>
 
193
    </hint>
 
194
    <hint type="destinationlabel" >
 
195
     <x>20</x>
 
196
     <y>20</y>
 
197
    </hint>
 
198
   </hints>
 
199
  </connection>
 
200
 </connections>
 
201
</ui>