blob: 8fe77d4cda3ca2de5c20dc9ae3b0ad04a9fff075 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>BookForm</class>
<include location="global" impldecl="in declaration">qsqlrecord.h</include>
<include location="local" impldecl="in declaration">editbook.h</include>
<include location="global" impldecl="in declaration">qdatabrowser.h</include>
<include location="local" implDecl="in declaration">book.ui.h</include>
<layoutdefaults spacing="6" margin="11"/>
<widget class="TQDialog">
<property name="name">
<cstring>BookForm</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>494</width>
<height>506</height>
</rect>
</property>
<property name="caption">
<string>Book</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQSplitter">
<property name="name">
<cstring>Splitter1</cstring>
</property>
<property name="frameShape">
<enum>MShape</enum>
</property>
<property name="frameShadow">
<enum>MShadow</enum>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<widget class="TQDataTable">
<column>
<property name="text">
<string>Surname</string>
</property>
<property name="field">
<string>surname</string>
</property>
</column>
<column>
<property name="text">
<string>Forename</string>
</property>
<property name="field">
<string>forename</string>
</property>
</column>
<property name="name">
<cstring>AuthorDataTable</cstring>
</property>
<property name="confirmDelete">
<bool>true</bool>
</property>
<property name="sort">
<stringlist>
<string>surname ASC</string>
<string>forename ASC</string>
</stringlist>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>author</string>
</stringlist>
</property>
</widget>
<widget class="TQDataTable">
<column>
<property name="text">
<string>Title</string>
</property>
<property name="field">
<string>title</string>
</property>
</column>
<column>
<property name="text">
<string>Price</string>
</property>
<property name="field">
<string>price</string>
</property>
</column>
<column>
<property name="text">
<string>Notes</string>
</property>
<property name="field">
<string>notes</string>
</property>
</column>
<property name="name">
<cstring>BookDataTable</cstring>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="sort">
<stringlist>
<string>title ASC</string>
</stringlist>
</property>
<property name="database" stdset="0">
<stringlist>
<string>(default)</string>
<string>book</string>
</stringlist>
</property>
</widget>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>EditPushButton</cstring>
</property>
<property name="text">
<string>&Edit Books</string>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>QuitPushButton</cstring>
</property>
<property name="text">
<string>&Quit</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection language="C++">
<sender>QuitPushButton</sender>
<signal>clicked()</signal>
<receiver>BookForm</receiver>
<slot>accept()</slot>
</connection>
<connection language="C++">
<sender>EditPushButton</sender>
<signal>clicked()</signal>
<receiver>BookForm</receiver>
<slot>editClicked()</slot>
</connection>
<connection language="C++">
<sender>AuthorDataTable</sender>
<signal>primeInsert(TQSqlRecord*)</signal>
<receiver>BookForm</receiver>
<slot>primeInsertAuthor(TQSqlRecord*)</slot>
</connection>
<connection language="C++">
<sender>AuthorDataTable</sender>
<signal>currentChanged(TQSqlRecord*)</signal>
<receiver>BookForm</receiver>
<slot>newCurrentAuthor(TQSqlRecord*)</slot>
</connection>
<slot access="public" specifier="virtual" language="C++" returnType="void">editClicked()</slot>
<slot access="public" specifier="virtual" language="C++" returnType="void">newCurrentAuthor( TQSqlRecord * author )</slot>
<slot access="public" specifier="virtual" language="C++" returnType="void">primeInsertAuthor( TQSqlRecord * buffer )</slot>
</connections>
</UI>
|