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