Subversion Repositories Scribus

Rev

Rev 1676 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1644 cbradney 1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2
<class>PageItemAttributes</class>
3
<widget class="QDialog">
4
    <property name="name">
5
        <cstring>PageItemAttributes</cstring>
6
    </property>
7
    <property name="geometry">
8
        <rect>
9
            <x>0</x>
10
            <y>0</y>
11
            <width>474</width>
1676 cbradney 12
            <height>151</height>
1644 cbradney 13
        </rect>
14
    </property>
15
    <property name="caption">
16
        <string>Page Item Attributes</string>
17
    </property>
18
    <property name="sizeGripEnabled">
19
        <bool>true</bool>
20
    </property>
21
    <vbox>
22
        <property name="name">
23
            <cstring>unnamed</cstring>
24
        </property>
25
        <widget class="QLayoutWidget">
26
            <property name="name">
1650 cbradney 27
                <cstring>attributeVBox</cstring>
1644 cbradney 28
            </property>
29
            <vbox>
30
                <property name="name">
31
                    <cstring>unnamed</cstring>
32
                </property>
33
                <widget class="QTable">
34
                    <column>
35
                        <property name="text">
36
                            <string>Name</string>
37
                        </property>
38
                    </column>
39
                    <column>
40
                        <property name="text">
41
                            <string>Type</string>
42
                        </property>
43
                    </column>
44
                    <column>
45
                        <property name="text">
1650 cbradney 46
                            <string>Value</string>
1644 cbradney 47
                        </property>
48
                    </column>
49
                    <column>
50
                        <property name="text">
1650 cbradney 51
                            <string>Parameter</string>
1644 cbradney 52
                        </property>
53
                    </column>
1652 cbradney 54
                    <column>
55
                        <property name="text">
56
                            <string>Relationship</string>
57
                        </property>
58
                    </column>
59
                    <column>
60
                        <property name="text">
61
                            <string>Relationship To</string>
62
                        </property>
63
                    </column>
1644 cbradney 64
                    <property name="name">
65
                        <cstring>attributesTable</cstring>
66
                    </property>
67
                    <property name="numRows">
1650 cbradney 68
                        <number>0</number>
1644 cbradney 69
                    </property>
70
                    <property name="numCols">
1652 cbradney 71
                        <number>6</number>
1644 cbradney 72
                    </property>
73
                </widget>
74
                <widget class="QLayoutWidget">
75
                    <property name="name">
1650 cbradney 76
                        <cstring>attributesHBox</cstring>
1644 cbradney 77
                    </property>
78
                    <hbox>
79
                        <property name="name">
80
                            <cstring>unnamed</cstring>
81
                        </property>
82
                        <widget class="QPushButton">
83
                            <property name="name">
84
                                <cstring>addButton</cstring>
85
                            </property>
86
                            <property name="text">
87
                                <string>&amp;Add</string>
88
                            </property>
89
                            <property name="accel">
90
                                <string>Alt+A</string>
91
                            </property>
92
                        </widget>
93
                        <widget class="QPushButton">
94
                            <property name="name">
1649 cbradney 95
                                <cstring>copyButton</cstring>
1644 cbradney 96
                            </property>
97
                            <property name="text">
98
                                <string>&amp;Copy</string>
99
                            </property>
100
                            <property name="accel">
101
                                <string>Alt+C</string>
102
                            </property>
103
                        </widget>
104
                        <widget class="QPushButton">
105
                            <property name="name">
1649 cbradney 106
                                <cstring>deleteButton</cstring>
1644 cbradney 107
                            </property>
108
                            <property name="text">
109
                                <string>&amp;Delete</string>
110
                            </property>
111
                            <property name="accel">
112
                                <string>Alt+D</string>
113
                            </property>
114
                        </widget>
115
                        <widget class="QPushButton">
116
                            <property name="name">
117
                                <cstring>clearButton</cstring>
118
                            </property>
119
                            <property name="text">
120
                                <string>C&amp;lear</string>
121
                            </property>
122
                            <property name="accel">
123
                                <string>Alt+L</string>
124
                            </property>
125
                        </widget>
126
                        <spacer>
127
                            <property name="name">
128
                                <cstring>buttonSpacer</cstring>
129
                            </property>
130
                            <property name="orientation">
131
                                <enum>Horizontal</enum>
132
                            </property>
133
                            <property name="sizeType">
134
                                <enum>Expanding</enum>
135
                            </property>
136
                            <property name="sizeHint">
137
                                <size>
138
                                    <width>90</width>
139
                                    <height>20</height>
140
                                </size>
141
                            </property>
142
                        </spacer>
143
                        <widget class="QPushButton">
144
                            <property name="name">
145
                                <cstring>okButton</cstring>
146
                            </property>
147
                            <property name="text">
148
                                <string>&amp;OK</string>
149
                            </property>
150
                            <property name="accel">
151
                                <string></string>
152
                            </property>
153
                            <property name="autoDefault">
154
                                <bool>true</bool>
155
                            </property>
156
                            <property name="default">
157
                                <bool>true</bool>
158
                            </property>
159
                        </widget>
160
                        <widget class="QPushButton">
161
                            <property name="name">
162
                                <cstring>cancelButton</cstring>
163
                            </property>
164
                            <property name="text">
165
                                <string>&amp;Cancel</string>
166
                            </property>
167
                            <property name="accel">
168
                                <string></string>
169
                            </property>
170
                            <property name="autoDefault">
171
                                <bool>true</bool>
172
                            </property>
173
                        </widget>
174
                    </hbox>
175
                </widget>
176
            </vbox>
177
        </widget>
178
    </vbox>
179
</widget>
180
<connections>
181
    <connection>
182
        <sender>cancelButton</sender>
183
        <signal>clicked()</signal>
184
        <receiver>PageItemAttributes</receiver>
185
        <slot>reject()</slot>
186
    </connection>
187
    <connection>
188
        <sender>okButton</sender>
189
        <signal>clicked()</signal>
190
        <receiver>PageItemAttributes</receiver>
1676 cbradney 191
        <slot>okClicked()</slot>
1644 cbradney 192
    </connection>
1649 cbradney 193
    <connection>
194
        <sender>attributesTable</sender>
195
        <signal>valueChanged(int,int)</signal>
196
        <receiver>PageItemAttributes</receiver>
197
        <slot>tableItemChanged(int,int)</slot>
198
    </connection>
1650 cbradney 199
    <connection>
200
        <sender>addButton</sender>
201
        <signal>clicked()</signal>
202
        <receiver>PageItemAttributes</receiver>
203
        <slot>addEntry()</slot>
204
    </connection>
205
    <connection>
206
        <sender>deleteButton</sender>
207
        <signal>clicked()</signal>
208
        <receiver>PageItemAttributes</receiver>
209
        <slot>deleteEntry()</slot>
210
    </connection>
211
    <connection>
212
        <sender>clearButton</sender>
213
        <signal>clicked()</signal>
214
        <receiver>PageItemAttributes</receiver>
215
        <slot>clearEntries()</slot>
216
    </connection>
217
    <connection>
218
        <sender>copyButton</sender>
219
        <signal>clicked()</signal>
220
        <receiver>PageItemAttributes</receiver>
221
        <slot>copyEntry()</slot>
222
    </connection>
1644 cbradney 223
</connections>
224
<includes>
225
    <include location="local" impldecl="in declaration">pagestructs.h</include>
226
    <include location="global" impldecl="in implementation">qtable.h</include>
227
    <include location="global" impldecl="in implementation">qheader.h</include>
228
    <include location="local" impldecl="in implementation">pageitemattributes.ui.h</include>
229
</includes>
230
<variables>
2570 cbradney 231
    <variable>ObjAttrVector localDocAttributes;</variable>
232
    <variable>ObjAttrVector localAttributes;</variable>
1652 cbradney 233
    <variable>QStringList relationships;</variable>
1654 cbradney 234
    <variable>QStringList relationshipsData;</variable>
2570 cbradney 235
    <variable>QStringList nameList;</variable>
1644 cbradney 236
</variables>
237
<slots>
2570 cbradney 238
    <slot>setup( ObjAttrVector * pageItemAttrs, ObjAttrVector * docItemAttrs )</slot>
1644 cbradney 239
    <slot>tableItemChanged( int row, int col )</slot>
1650 cbradney 240
    <slot access="protected">addEntry()</slot>
241
    <slot access="protected">deleteEntry()</slot>
242
    <slot access="protected">clearEntries()</slot>
243
    <slot access="protected">copyEntry()</slot>
1676 cbradney 244
    <slot access="protected">okClicked()</slot>
1644 cbradney 245
</slots>
246
<functions>
247
    <function access="private" specifier="non virtual">init()</function>
248
    <function access="private" specifier="non virtual">destroy()</function>
1650 cbradney 249
    <function returnType="ObjAttrVector *">getNewAttributes()</function>
250
    <function access="protected">updateTable()</function>
1644 cbradney 251
</functions>
252
<layoutdefaults spacing="6" margin="11"/>
253
</UI>