ig3tool 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/ig3tool +114 -0
- data/lib/glade/bib.glade +539 -0
- data/lib/glade/bibliotheek.glade +994 -0
- data/lib/glade/icons/cola.png +0 -0
- data/lib/glade/icons/emblem-money.png +0 -0
- data/lib/glade/icons/emblem-package.png +0 -0
- data/lib/glade/icons/emblem-penning.xpm +98 -0
- data/lib/glade/icons/emblem-people.png +0 -0
- data/lib/glade/icons/emblem-sales.png +0 -0
- data/lib/glade/icons/gdict.png +0 -0
- data/lib/glade/icons/members_klein.png +0 -0
- data/lib/glade/icons/members_xklein.png +0 -0
- data/lib/glade/icons/no.xpm +34 -0
- data/lib/glade/icons/stock_book.svg +338 -0
- data/lib/glade/icons/stock_book_klein.png +0 -0
- data/lib/glade/icons/stock_book_xklein.png +0 -0
- data/lib/glade/icons/stock_bookmark.svg +327 -0
- data/lib/glade/icons/stock_bookmark_klein.png +0 -0
- data/lib/glade/icons/stock_bookmark_xklein.png +0 -0
- data/lib/glade/icons/stock_print.png +0 -0
- data/lib/glade/interne.glade +228 -0
- data/lib/glade/loginwindow.glade +255 -0
- data/lib/glade/memberinfo.svg +411 -0
- data/lib/glade/memberinfo_klein.png +0 -0
- data/lib/glade/memberinfo_xklein.png +0 -0
- data/lib/glade/members.glade +596 -0
- data/lib/glade/members.svg +559 -0
- data/lib/glade/members_klein.png +0 -0
- data/lib/glade/members_xklein.png +0 -0
- data/lib/glade/penningtool.glade +731 -0
- data/lib/glade/people.glade +947 -0
- data/lib/glade/printen.glade +358 -0
- data/lib/glade/printer.png +0 -0
- data/lib/glade/printer_klein.png +0 -0
- data/lib/glade/printer_xklein.png +0 -0
- data/lib/glade/printerlog_klein.png +0 -0
- data/lib/glade/printerlog_xklein.png +0 -0
- data/lib/glade/printing.glade +841 -0
- data/lib/glade/products.glade +404 -0
- data/lib/glade/sales.glade +426 -0
- data/lib/glade/stock_book.svg +338 -0
- data/lib/glade/stock_book_klein.png +0 -0
- data/lib/glade/stock_book_xklein.png +0 -0
- data/lib/glade/stock_bookmark_klein.png +0 -0
- data/lib/glade/stock_bookmark_xklein.png +0 -0
- data/lib/glade/vendingmachine.glade +207 -0
- data/lib/lib/errors.rb +90 -0
- data/lib/lib/util.rb +89 -0
- data/lib/ui/automaatwindow.rb +107 -0
- data/lib/ui/bibliotheekwindow.rb +453 -0
- data/lib/ui/bibwindow.rb +537 -0
- data/lib/ui/gladehelper.rb +110 -0
- data/lib/ui/internewindow.rb +126 -0
- data/lib/ui/loginwindow.rb +60 -0
- data/lib/ui/memberswindow.rb +327 -0
- data/lib/ui/messagebox.rb +23 -0
- data/lib/ui/peoplewindow.rb +333 -0
- data/lib/ui/printenwindow.rb +329 -0
- data/lib/ui/printingwindow.rb +395 -0
- data/lib/ui/productswindow.rb +160 -0
- data/lib/ui/saleswindow.rb +207 -0
- data/lib/ui/toolwindow.rb +97 -0
- metadata +128 -0
@@ -0,0 +1,358 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
3
|
+
<!--*- mode: xml -*-->
|
4
|
+
<glade-interface>
|
5
|
+
<widget class="GtkWindow" id="window">
|
6
|
+
<property name="visible">True</property>
|
7
|
+
<property name="border_width">6</property>
|
8
|
+
<property name="title" translatable="yes">Printkrediet</property>
|
9
|
+
<property name="default_width">550</property>
|
10
|
+
<property name="default_height">300</property>
|
11
|
+
<child>
|
12
|
+
<widget class="GtkVPaned" id="vpaned1">
|
13
|
+
<property name="visible">True</property>
|
14
|
+
<property name="can_focus">True</property>
|
15
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
16
|
+
<child>
|
17
|
+
<widget class="GtkVBox" id="printkrediet">
|
18
|
+
<property name="height_request">200</property>
|
19
|
+
<property name="visible">True</property>
|
20
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
21
|
+
<property name="border_width">7</property>
|
22
|
+
<child>
|
23
|
+
<widget class="GtkHBox" id="hbox2">
|
24
|
+
<property name="visible">True</property>
|
25
|
+
<property name="spacing">12</property>
|
26
|
+
<child>
|
27
|
+
<widget class="GtkTable" id="table2">
|
28
|
+
<property name="visible">True</property>
|
29
|
+
<property name="n_rows">3</property>
|
30
|
+
<property name="n_columns">2</property>
|
31
|
+
<property name="column_spacing">6</property>
|
32
|
+
<property name="row_spacing">6</property>
|
33
|
+
<child>
|
34
|
+
<widget class="GtkLabel" id="label8">
|
35
|
+
<property name="visible">True</property>
|
36
|
+
<property name="xalign">0</property>
|
37
|
+
<property name="label" translatable="yes">Gebruikersnaam:</property>
|
38
|
+
</widget>
|
39
|
+
<packing>
|
40
|
+
<property name="x_options">GTK_FILL</property>
|
41
|
+
<property name="y_options"></property>
|
42
|
+
</packing>
|
43
|
+
</child>
|
44
|
+
<child>
|
45
|
+
<widget class="GtkLabel" id="label9">
|
46
|
+
<property name="visible">True</property>
|
47
|
+
<property name="xalign">0</property>
|
48
|
+
<property name="label" translatable="yes">Email adres:</property>
|
49
|
+
</widget>
|
50
|
+
<packing>
|
51
|
+
<property name="top_attach">1</property>
|
52
|
+
<property name="bottom_attach">2</property>
|
53
|
+
<property name="x_options">GTK_FILL</property>
|
54
|
+
<property name="y_options"></property>
|
55
|
+
</packing>
|
56
|
+
</child>
|
57
|
+
<child>
|
58
|
+
<widget class="GtkEntry" id="user">
|
59
|
+
<property name="visible">True</property>
|
60
|
+
<property name="can_focus">True</property>
|
61
|
+
<property name="has_focus">True</property>
|
62
|
+
<property name="invisible_char">*</property>
|
63
|
+
<signal name="changed" handler="username_changed"/>
|
64
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
65
|
+
<signal name="activate" handler="activate_user"/>
|
66
|
+
</widget>
|
67
|
+
<packing>
|
68
|
+
<property name="left_attach">1</property>
|
69
|
+
<property name="right_attach">2</property>
|
70
|
+
<property name="y_options"></property>
|
71
|
+
</packing>
|
72
|
+
</child>
|
73
|
+
<child>
|
74
|
+
<widget class="GtkEntry" id="email">
|
75
|
+
<property name="visible">True</property>
|
76
|
+
<property name="can_focus">True</property>
|
77
|
+
<property name="invisible_char">*</property>
|
78
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
79
|
+
</widget>
|
80
|
+
<packing>
|
81
|
+
<property name="left_attach">1</property>
|
82
|
+
<property name="right_attach">2</property>
|
83
|
+
<property name="top_attach">1</property>
|
84
|
+
<property name="bottom_attach">2</property>
|
85
|
+
<property name="y_options"></property>
|
86
|
+
</packing>
|
87
|
+
</child>
|
88
|
+
<child>
|
89
|
+
<widget class="GtkLabel" id="label10">
|
90
|
+
<property name="visible">True</property>
|
91
|
+
<property name="xalign">0</property>
|
92
|
+
<property name="label" translatable="yes">Status:</property>
|
93
|
+
</widget>
|
94
|
+
<packing>
|
95
|
+
<property name="top_attach">2</property>
|
96
|
+
<property name="bottom_attach">3</property>
|
97
|
+
<property name="x_options">GTK_FILL</property>
|
98
|
+
<property name="y_options"></property>
|
99
|
+
</packing>
|
100
|
+
</child>
|
101
|
+
<child>
|
102
|
+
<widget class="GtkComboBox" id="status">
|
103
|
+
<property name="visible">True</property>
|
104
|
+
<property name="items" translatable="yes">user
|
105
|
+
debugger</property>
|
106
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
107
|
+
</widget>
|
108
|
+
<packing>
|
109
|
+
<property name="left_attach">1</property>
|
110
|
+
<property name="right_attach">2</property>
|
111
|
+
<property name="top_attach">2</property>
|
112
|
+
<property name="bottom_attach">3</property>
|
113
|
+
<property name="x_options">GTK_FILL</property>
|
114
|
+
<property name="y_options">GTK_FILL</property>
|
115
|
+
</packing>
|
116
|
+
</child>
|
117
|
+
</widget>
|
118
|
+
</child>
|
119
|
+
<child>
|
120
|
+
<widget class="GtkVBox" id="vbox1">
|
121
|
+
<property name="visible">True</property>
|
122
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
123
|
+
<child>
|
124
|
+
<widget class="GtkTable" id="table3">
|
125
|
+
<property name="visible">True</property>
|
126
|
+
<property name="n_rows">2</property>
|
127
|
+
<property name="n_columns">2</property>
|
128
|
+
<property name="column_spacing">6</property>
|
129
|
+
<property name="row_spacing">6</property>
|
130
|
+
<child>
|
131
|
+
<widget class="GtkEntry" id="delta">
|
132
|
+
<property name="visible">True</property>
|
133
|
+
<property name="can_focus">True</property>
|
134
|
+
<property name="invisible_char">*</property>
|
135
|
+
<signal name="focus_out_event" handler="delta_focus_out"/>
|
136
|
+
<signal name="focus_out_event" handler="focus_changed"/>
|
137
|
+
<signal name="activate" handler="toepassen_activate_cb"/>
|
138
|
+
</widget>
|
139
|
+
<packing>
|
140
|
+
<property name="left_attach">1</property>
|
141
|
+
<property name="right_attach">2</property>
|
142
|
+
<property name="top_attach">1</property>
|
143
|
+
<property name="bottom_attach">2</property>
|
144
|
+
<property name="y_options"></property>
|
145
|
+
</packing>
|
146
|
+
</child>
|
147
|
+
<child>
|
148
|
+
<widget class="GtkLabel" id="label7">
|
149
|
+
<property name="visible">True</property>
|
150
|
+
<property name="xalign">0</property>
|
151
|
+
<property name="label" translatable="yes">Vul krediet aan:</property>
|
152
|
+
</widget>
|
153
|
+
<packing>
|
154
|
+
<property name="top_attach">1</property>
|
155
|
+
<property name="bottom_attach">2</property>
|
156
|
+
<property name="x_options">GTK_FILL</property>
|
157
|
+
<property name="y_options"></property>
|
158
|
+
</packing>
|
159
|
+
</child>
|
160
|
+
<child>
|
161
|
+
<widget class="GtkLabel" id="label11">
|
162
|
+
<property name="visible">True</property>
|
163
|
+
<property name="xalign">0</property>
|
164
|
+
<property name="label" translatable="yes">Huidig saldo:</property>
|
165
|
+
</widget>
|
166
|
+
<packing>
|
167
|
+
<property name="x_options">GTK_FILL</property>
|
168
|
+
<property name="y_options"></property>
|
169
|
+
</packing>
|
170
|
+
</child>
|
171
|
+
<child>
|
172
|
+
<widget class="GtkEntry" id="saldo">
|
173
|
+
<property name="visible">True</property>
|
174
|
+
<property name="sensitive">False</property>
|
175
|
+
<property name="can_focus">True</property>
|
176
|
+
<property name="editable">False</property>
|
177
|
+
<property name="invisible_char">*</property>
|
178
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
179
|
+
</widget>
|
180
|
+
<packing>
|
181
|
+
<property name="left_attach">1</property>
|
182
|
+
<property name="right_attach">2</property>
|
183
|
+
<property name="y_options"></property>
|
184
|
+
</packing>
|
185
|
+
</child>
|
186
|
+
</widget>
|
187
|
+
</child>
|
188
|
+
<child>
|
189
|
+
<widget class="GtkHButtonBox" id="hbuttonbox1">
|
190
|
+
<property name="visible">True</property>
|
191
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
192
|
+
<property name="homogeneous">True</property>
|
193
|
+
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
|
194
|
+
<child>
|
195
|
+
<widget class="GtkButton" id="cancel">
|
196
|
+
<property name="visible">True</property>
|
197
|
+
<property name="can_focus">True</property>
|
198
|
+
<property name="receives_default">True</property>
|
199
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
200
|
+
<property name="label" translatable="yes">gtk-undo</property>
|
201
|
+
<property name="use_stock">True</property>
|
202
|
+
<property name="response_id">0</property>
|
203
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
204
|
+
<signal name="clicked" handler="undo_activate_cb"/>
|
205
|
+
<signal name="activate" handler="undo_activate_cb"/>
|
206
|
+
</widget>
|
207
|
+
</child>
|
208
|
+
<child>
|
209
|
+
<widget class="GtkButton" id="refund">
|
210
|
+
<property name="visible">True</property>
|
211
|
+
<property name="sensitive">False</property>
|
212
|
+
<property name="can_focus">True</property>
|
213
|
+
<property name="can_default">True</property>
|
214
|
+
<property name="has_default">True</property>
|
215
|
+
<property name="label">_Terugbetalen</property>
|
216
|
+
<property name="use_underline">True</property>
|
217
|
+
<property name="response_id">0</property>
|
218
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
219
|
+
<signal name="clicked" handler="refund_clicked"/>
|
220
|
+
<accelerator key="T" modifiers="GDK_CONTROL_MASK" signal="clicked"/>
|
221
|
+
</widget>
|
222
|
+
<packing>
|
223
|
+
<property name="expand">False</property>
|
224
|
+
<property name="fill">False</property>
|
225
|
+
<property name="position">1</property>
|
226
|
+
</packing>
|
227
|
+
</child>
|
228
|
+
<child>
|
229
|
+
<widget class="GtkButton" id="toepassen">
|
230
|
+
<property name="visible">True</property>
|
231
|
+
<property name="can_focus">True</property>
|
232
|
+
<property name="receives_default">True</property>
|
233
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
234
|
+
<property name="label" translatable="yes">gtk-apply</property>
|
235
|
+
<property name="use_stock">True</property>
|
236
|
+
<property name="response_id">0</property>
|
237
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
238
|
+
<signal name="clicked" handler="toepassen_activate_cb"/>
|
239
|
+
<signal name="activate" handler="toepassen_activate_cb"/>
|
240
|
+
</widget>
|
241
|
+
<packing>
|
242
|
+
<property name="position">2</property>
|
243
|
+
</packing>
|
244
|
+
</child>
|
245
|
+
</widget>
|
246
|
+
<packing>
|
247
|
+
<property name="position">1</property>
|
248
|
+
</packing>
|
249
|
+
</child>
|
250
|
+
</widget>
|
251
|
+
<packing>
|
252
|
+
<property name="position">1</property>
|
253
|
+
</packing>
|
254
|
+
</child>
|
255
|
+
</widget>
|
256
|
+
<packing>
|
257
|
+
<property name="expand">False</property>
|
258
|
+
</packing>
|
259
|
+
</child>
|
260
|
+
<child>
|
261
|
+
<widget class="GtkScrolledWindow" id="scrolledwindow1">
|
262
|
+
<property name="visible">True</property>
|
263
|
+
<property name="can_focus">True</property>
|
264
|
+
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
265
|
+
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
266
|
+
<property name="shadow_type">GTK_SHADOW_IN</property>
|
267
|
+
<child>
|
268
|
+
<widget class="GtkTreeView" id="credits_list">
|
269
|
+
<property name="visible">True</property>
|
270
|
+
<property name="can_focus">True</property>
|
271
|
+
<property name="headers_clickable">True</property>
|
272
|
+
<property name="reorderable">True</property>
|
273
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
274
|
+
<signal name="row_activated" handler="list_row_activated"/>
|
275
|
+
</widget>
|
276
|
+
</child>
|
277
|
+
</widget>
|
278
|
+
<packing>
|
279
|
+
<property name="position">1</property>
|
280
|
+
</packing>
|
281
|
+
</child>
|
282
|
+
</widget>
|
283
|
+
<packing>
|
284
|
+
<property name="resize">False</property>
|
285
|
+
<property name="shrink">True</property>
|
286
|
+
</packing>
|
287
|
+
</child>
|
288
|
+
<child>
|
289
|
+
<widget class="GtkVBox" id="printlog">
|
290
|
+
<property name="height_request">150</property>
|
291
|
+
<property name="visible">True</property>
|
292
|
+
<child>
|
293
|
+
<widget class="GtkScrolledWindow" id="scrolledwindow1">
|
294
|
+
<property name="visible">True</property>
|
295
|
+
<property name="can_focus">True</property>
|
296
|
+
<property name="border_width">6</property>
|
297
|
+
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
298
|
+
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
299
|
+
<property name="shadow_type">GTK_SHADOW_IN</property>
|
300
|
+
<child>
|
301
|
+
<widget class="GtkTreeView" id="log_list">
|
302
|
+
<property name="visible">True</property>
|
303
|
+
<property name="can_focus">True</property>
|
304
|
+
<property name="border_width">6</property>
|
305
|
+
<property name="headers_clickable">True</property>
|
306
|
+
<property name="reorderable">True</property>
|
307
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
308
|
+
<signal name="row_activated" handler="log_list_row_activated"/>
|
309
|
+
<signal name="cursor_changed" handler="log_list_cursor_changed"/>
|
310
|
+
</widget>
|
311
|
+
</child>
|
312
|
+
</widget>
|
313
|
+
</child>
|
314
|
+
<child>
|
315
|
+
<widget class="GtkHBox" id="hbox1">
|
316
|
+
<property name="visible">True</property>
|
317
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
318
|
+
<child>
|
319
|
+
<widget class="GtkLabel" id="notification">
|
320
|
+
<property name="visible">True</property>
|
321
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
322
|
+
<property name="wrap">True</property>
|
323
|
+
</widget>
|
324
|
+
</child>
|
325
|
+
<child>
|
326
|
+
<widget class="GtkButton" id="refresh">
|
327
|
+
<property name="visible">True</property>
|
328
|
+
<property name="can_focus">True</property>
|
329
|
+
<property name="can_default">True</property>
|
330
|
+
<property name="has_default">True</property>
|
331
|
+
<property name="label">gtk-refresh</property>
|
332
|
+
<property name="use_stock">True</property>
|
333
|
+
<property name="response_id">0</property>
|
334
|
+
<signal name="focus_in_event" handler="focus_changed"/>
|
335
|
+
<signal name="clicked" handler="refresh_clicked"/>
|
336
|
+
</widget>
|
337
|
+
<packing>
|
338
|
+
<property name="expand">False</property>
|
339
|
+
<property name="fill">False</property>
|
340
|
+
<property name="position">1</property>
|
341
|
+
</packing>
|
342
|
+
</child>
|
343
|
+
</widget>
|
344
|
+
<packing>
|
345
|
+
<property name="expand">False</property>
|
346
|
+
<property name="position">1</property>
|
347
|
+
</packing>
|
348
|
+
</child>
|
349
|
+
</widget>
|
350
|
+
<packing>
|
351
|
+
<property name="resize">True</property>
|
352
|
+
<property name="shrink">True</property>
|
353
|
+
</packing>
|
354
|
+
</child>
|
355
|
+
</widget>
|
356
|
+
</child>
|
357
|
+
</widget>
|
358
|
+
</glade-interface>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|