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,426 @@
|
|
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="title" translatable="yes">Sales</property>
|
7
|
+
<property name="default_width">550</property>
|
8
|
+
<property name="default_height">420</property>
|
9
|
+
<child>
|
10
|
+
<widget class="GtkVBox" id="vbox">
|
11
|
+
<property name="visible">True</property>
|
12
|
+
<child>
|
13
|
+
<widget class="GtkTable" id="table1">
|
14
|
+
<property name="visible">True</property>
|
15
|
+
<property name="border_width">6</property>
|
16
|
+
<property name="n_rows">3</property>
|
17
|
+
<property name="n_columns">4</property>
|
18
|
+
<property name="column_spacing">12</property>
|
19
|
+
<property name="row_spacing">6</property>
|
20
|
+
<child>
|
21
|
+
<widget class="GtkComboBox" id="debugger">
|
22
|
+
<property name="visible">True</property>
|
23
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
24
|
+
<property name="active">0</property>
|
25
|
+
</widget>
|
26
|
+
<packing>
|
27
|
+
<property name="left_attach">1</property>
|
28
|
+
<property name="right_attach">2</property>
|
29
|
+
<property name="top_attach">1</property>
|
30
|
+
<property name="bottom_attach">2</property>
|
31
|
+
</packing>
|
32
|
+
</child>
|
33
|
+
<child>
|
34
|
+
<placeholder/>
|
35
|
+
</child>
|
36
|
+
<child>
|
37
|
+
<placeholder/>
|
38
|
+
</child>
|
39
|
+
<child>
|
40
|
+
<placeholder/>
|
41
|
+
</child>
|
42
|
+
<child>
|
43
|
+
<placeholder/>
|
44
|
+
</child>
|
45
|
+
<child>
|
46
|
+
<widget class="GtkEntry" id="smartzap">
|
47
|
+
<property name="visible">True</property>
|
48
|
+
<property name="can_focus">True</property>
|
49
|
+
<signal name="activate" handler="smartzap_activate"/>
|
50
|
+
</widget>
|
51
|
+
<packing>
|
52
|
+
<property name="left_attach">1</property>
|
53
|
+
<property name="right_attach">2</property>
|
54
|
+
<property name="y_options"></property>
|
55
|
+
</packing>
|
56
|
+
</child>
|
57
|
+
<child>
|
58
|
+
<widget class="GtkLabel" id="label1">
|
59
|
+
<property name="visible">True</property>
|
60
|
+
<property name="xalign">0</property>
|
61
|
+
<property name="label" translatable="yes">Smartzap:</property>
|
62
|
+
</widget>
|
63
|
+
<packing>
|
64
|
+
<property name="x_options">GTK_FILL</property>
|
65
|
+
<property name="y_options"></property>
|
66
|
+
</packing>
|
67
|
+
</child>
|
68
|
+
<child>
|
69
|
+
<widget class="GtkLabel" id="label7">
|
70
|
+
<property name="visible">True</property>
|
71
|
+
<property name="xalign">0</property>
|
72
|
+
<property name="label" translatable="yes">Lid:</property>
|
73
|
+
</widget>
|
74
|
+
<packing>
|
75
|
+
<property name="left_attach">2</property>
|
76
|
+
<property name="right_attach">3</property>
|
77
|
+
<property name="top_attach">2</property>
|
78
|
+
<property name="bottom_attach">3</property>
|
79
|
+
<property name="x_options">GTK_FILL</property>
|
80
|
+
<property name="y_options"></property>
|
81
|
+
</packing>
|
82
|
+
</child>
|
83
|
+
<child>
|
84
|
+
<widget class="GtkComboBoxEntry" id="member_id">
|
85
|
+
<property name="visible">True</property>
|
86
|
+
<property name="active">0</property>
|
87
|
+
<property name="items" translatable="yes">non member
|
88
|
+
member</property>
|
89
|
+
<child internal-child="entry">
|
90
|
+
<widget class="GtkEntry" id="comboboxentry-entry1">
|
91
|
+
<property name="text" translatable="yes">non member</property>
|
92
|
+
</widget>
|
93
|
+
</child>
|
94
|
+
</widget>
|
95
|
+
<packing>
|
96
|
+
<property name="left_attach">3</property>
|
97
|
+
<property name="right_attach">4</property>
|
98
|
+
<property name="top_attach">2</property>
|
99
|
+
<property name="bottom_attach">3</property>
|
100
|
+
<property name="x_options">GTK_FILL</property>
|
101
|
+
<property name="y_options">GTK_FILL</property>
|
102
|
+
</packing>
|
103
|
+
</child>
|
104
|
+
<child>
|
105
|
+
<widget class="GtkLabel" id="label5">
|
106
|
+
<property name="visible">True</property>
|
107
|
+
<property name="xalign">0</property>
|
108
|
+
<property name="label" translatable="yes">Aantal:</property>
|
109
|
+
</widget>
|
110
|
+
<packing>
|
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"></property>
|
115
|
+
</packing>
|
116
|
+
</child>
|
117
|
+
<child>
|
118
|
+
<widget class="GtkEntry" id="count">
|
119
|
+
<property name="visible">True</property>
|
120
|
+
<property name="can_focus">True</property>
|
121
|
+
<property name="text" translatable="yes">1</property>
|
122
|
+
<signal name="activate" handler="count_activate"/>
|
123
|
+
</widget>
|
124
|
+
<packing>
|
125
|
+
<property name="left_attach">1</property>
|
126
|
+
<property name="right_attach">2</property>
|
127
|
+
<property name="top_attach">2</property>
|
128
|
+
<property name="bottom_attach">3</property>
|
129
|
+
<property name="y_options"></property>
|
130
|
+
</packing>
|
131
|
+
</child>
|
132
|
+
<child>
|
133
|
+
<widget class="GtkLabel" id="label6">
|
134
|
+
<property name="visible">True</property>
|
135
|
+
<property name="xalign">0</property>
|
136
|
+
<property name="label" translatable="yes">Debugger:</property>
|
137
|
+
</widget>
|
138
|
+
<packing>
|
139
|
+
<property name="top_attach">1</property>
|
140
|
+
<property name="bottom_attach">2</property>
|
141
|
+
<property name="x_options">GTK_FILL</property>
|
142
|
+
<property name="y_options"></property>
|
143
|
+
</packing>
|
144
|
+
</child>
|
145
|
+
</widget>
|
146
|
+
<packing>
|
147
|
+
<property name="expand">False</property>
|
148
|
+
</packing>
|
149
|
+
</child>
|
150
|
+
<child>
|
151
|
+
<widget class="GtkScrolledWindow" id="scrolledwindow1">
|
152
|
+
<property name="visible">True</property>
|
153
|
+
<property name="can_focus">True</property>
|
154
|
+
<property name="border_width">6</property>
|
155
|
+
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
156
|
+
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
157
|
+
<property name="shadow_type">GTK_SHADOW_IN</property>
|
158
|
+
<child>
|
159
|
+
<widget class="GtkTreeView" id="list">
|
160
|
+
<property name="visible">True</property>
|
161
|
+
<property name="can_focus">True</property>
|
162
|
+
<property name="reorderable">True</property>
|
163
|
+
</widget>
|
164
|
+
</child>
|
165
|
+
</widget>
|
166
|
+
<packing>
|
167
|
+
<property name="position">1</property>
|
168
|
+
</packing>
|
169
|
+
</child>
|
170
|
+
<child>
|
171
|
+
<widget class="GtkHBox" id="hbox1">
|
172
|
+
<property name="visible">True</property>
|
173
|
+
<property name="border_width">6</property>
|
174
|
+
<child>
|
175
|
+
<widget class="GtkVBox" id="vbox2">
|
176
|
+
<property name="visible">True</property>
|
177
|
+
<child>
|
178
|
+
<widget class="GtkButton" id="remove">
|
179
|
+
<property name="visible">True</property>
|
180
|
+
<property name="can_focus">True</property>
|
181
|
+
<property name="label">gtk-remove</property>
|
182
|
+
<property name="use_stock">True</property>
|
183
|
+
<property name="response_id">0</property>
|
184
|
+
<signal name="clicked" handler="delete_clicked"/>
|
185
|
+
</widget>
|
186
|
+
<packing>
|
187
|
+
<property name="expand">False</property>
|
188
|
+
<property name="fill">False</property>
|
189
|
+
</packing>
|
190
|
+
</child>
|
191
|
+
<child>
|
192
|
+
<widget class="GtkButton" id="clear">
|
193
|
+
<property name="visible">True</property>
|
194
|
+
<property name="can_focus">True</property>
|
195
|
+
<property name="receives_default">True</property>
|
196
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
197
|
+
<property name="label" translatable="yes">gtk-clear</property>
|
198
|
+
<property name="use_stock">True</property>
|
199
|
+
<property name="response_id">0</property>
|
200
|
+
<signal name="clicked" handler="clear_clicked"/>
|
201
|
+
</widget>
|
202
|
+
<packing>
|
203
|
+
<property name="position">1</property>
|
204
|
+
</packing>
|
205
|
+
</child>
|
206
|
+
</widget>
|
207
|
+
<packing>
|
208
|
+
<property name="expand">False</property>
|
209
|
+
<property name="fill">False</property>
|
210
|
+
</packing>
|
211
|
+
</child>
|
212
|
+
<child>
|
213
|
+
<placeholder/>
|
214
|
+
</child>
|
215
|
+
<child>
|
216
|
+
<widget class="GtkTable" id="table2">
|
217
|
+
<property name="visible">True</property>
|
218
|
+
<property name="n_rows">3</property>
|
219
|
+
<property name="n_columns">3</property>
|
220
|
+
<property name="column_spacing">6</property>
|
221
|
+
<property name="row_spacing">3</property>
|
222
|
+
<child>
|
223
|
+
<widget class="GtkLabel" id="label9">
|
224
|
+
<property name="visible">True</property>
|
225
|
+
<property name="xalign">0</property>
|
226
|
+
<property name="label" translatable="yes">€</property>
|
227
|
+
</widget>
|
228
|
+
<packing>
|
229
|
+
<property name="left_attach">2</property>
|
230
|
+
<property name="right_attach">3</property>
|
231
|
+
<property name="x_options">GTK_FILL</property>
|
232
|
+
<property name="y_options"></property>
|
233
|
+
</packing>
|
234
|
+
</child>
|
235
|
+
<child>
|
236
|
+
<widget class="GtkLabel" id="label10">
|
237
|
+
<property name="visible">True</property>
|
238
|
+
<property name="xalign">0</property>
|
239
|
+
<property name="label" translatable="yes">€</property>
|
240
|
+
</widget>
|
241
|
+
<packing>
|
242
|
+
<property name="left_attach">2</property>
|
243
|
+
<property name="right_attach">3</property>
|
244
|
+
<property name="top_attach">1</property>
|
245
|
+
<property name="bottom_attach">2</property>
|
246
|
+
<property name="x_options">GTK_FILL</property>
|
247
|
+
<property name="y_options"></property>
|
248
|
+
</packing>
|
249
|
+
</child>
|
250
|
+
<child>
|
251
|
+
<widget class="GtkLabel" id="label11">
|
252
|
+
<property name="visible">True</property>
|
253
|
+
<property name="xalign">0</property>
|
254
|
+
<property name="label" translatable="yes">€</property>
|
255
|
+
</widget>
|
256
|
+
<packing>
|
257
|
+
<property name="left_attach">2</property>
|
258
|
+
<property name="right_attach">3</property>
|
259
|
+
<property name="top_attach">2</property>
|
260
|
+
<property name="bottom_attach">3</property>
|
261
|
+
<property name="x_options">GTK_FILL</property>
|
262
|
+
<property name="y_options"></property>
|
263
|
+
</packing>
|
264
|
+
</child>
|
265
|
+
<child>
|
266
|
+
<widget class="GtkLabel" id="label12">
|
267
|
+
<property name="visible">True</property>
|
268
|
+
<property name="xalign">0</property>
|
269
|
+
<property name="label" translatable="yes">Totaal:</property>
|
270
|
+
</widget>
|
271
|
+
<packing>
|
272
|
+
<property name="x_options">GTK_FILL</property>
|
273
|
+
<property name="y_options"></property>
|
274
|
+
</packing>
|
275
|
+
</child>
|
276
|
+
<child>
|
277
|
+
<widget class="GtkLabel" id="label13">
|
278
|
+
<property name="visible">True</property>
|
279
|
+
<property name="xalign">0</property>
|
280
|
+
<property name="label" translatable="yes">Betaald:</property>
|
281
|
+
</widget>
|
282
|
+
<packing>
|
283
|
+
<property name="top_attach">1</property>
|
284
|
+
<property name="bottom_attach">2</property>
|
285
|
+
<property name="x_options">GTK_FILL</property>
|
286
|
+
<property name="y_options"></property>
|
287
|
+
</packing>
|
288
|
+
</child>
|
289
|
+
<child>
|
290
|
+
<widget class="GtkLabel" id="label14">
|
291
|
+
<property name="visible">True</property>
|
292
|
+
<property name="xalign">0</property>
|
293
|
+
<property name="label" translatable="yes">Terug:</property>
|
294
|
+
</widget>
|
295
|
+
<packing>
|
296
|
+
<property name="top_attach">2</property>
|
297
|
+
<property name="bottom_attach">3</property>
|
298
|
+
<property name="x_options">GTK_FILL</property>
|
299
|
+
<property name="y_options"></property>
|
300
|
+
</packing>
|
301
|
+
</child>
|
302
|
+
<child>
|
303
|
+
<widget class="GtkEntry" id="total">
|
304
|
+
<property name="visible">True</property>
|
305
|
+
<property name="can_focus">True</property>
|
306
|
+
<property name="editable">False</property>
|
307
|
+
<property name="has_frame">False</property>
|
308
|
+
<property name="width_chars">9</property>
|
309
|
+
<property name="text" translatable="yes">0.00</property>
|
310
|
+
<signal name="changed" handler="price_entries_changed"/>
|
311
|
+
</widget>
|
312
|
+
<packing>
|
313
|
+
<property name="left_attach">1</property>
|
314
|
+
<property name="right_attach">2</property>
|
315
|
+
<property name="x_options">GTK_FILL</property>
|
316
|
+
<property name="y_options"></property>
|
317
|
+
</packing>
|
318
|
+
</child>
|
319
|
+
<child>
|
320
|
+
<widget class="GtkEntry" id="paid">
|
321
|
+
<property name="visible">True</property>
|
322
|
+
<property name="can_focus">True</property>
|
323
|
+
<property name="has_frame">False</property>
|
324
|
+
<property name="width_chars">9</property>
|
325
|
+
<signal name="changed" handler="price_entries_changed"/>
|
326
|
+
</widget>
|
327
|
+
<packing>
|
328
|
+
<property name="left_attach">1</property>
|
329
|
+
<property name="right_attach">2</property>
|
330
|
+
<property name="top_attach">1</property>
|
331
|
+
<property name="bottom_attach">2</property>
|
332
|
+
<property name="x_options">GTK_FILL</property>
|
333
|
+
<property name="y_options"></property>
|
334
|
+
</packing>
|
335
|
+
</child>
|
336
|
+
<child>
|
337
|
+
<widget class="GtkEntry" id="change">
|
338
|
+
<property name="visible">True</property>
|
339
|
+
<property name="can_focus">True</property>
|
340
|
+
<property name="editable">False</property>
|
341
|
+
<property name="has_frame">False</property>
|
342
|
+
<property name="width_chars">9</property>
|
343
|
+
</widget>
|
344
|
+
<packing>
|
345
|
+
<property name="left_attach">1</property>
|
346
|
+
<property name="right_attach">2</property>
|
347
|
+
<property name="top_attach">2</property>
|
348
|
+
<property name="bottom_attach">3</property>
|
349
|
+
<property name="x_options">GTK_FILL</property>
|
350
|
+
<property name="y_options"></property>
|
351
|
+
</packing>
|
352
|
+
</child>
|
353
|
+
</widget>
|
354
|
+
<packing>
|
355
|
+
<property name="expand">False</property>
|
356
|
+
<property name="padding">6</property>
|
357
|
+
<property name="pack_type">GTK_PACK_END</property>
|
358
|
+
<property name="position">2</property>
|
359
|
+
</packing>
|
360
|
+
</child>
|
361
|
+
</widget>
|
362
|
+
<packing>
|
363
|
+
<property name="expand">False</property>
|
364
|
+
<property name="position">2</property>
|
365
|
+
</packing>
|
366
|
+
</child>
|
367
|
+
<child>
|
368
|
+
<widget class="GtkHButtonBox" id="hbuttonbox1">
|
369
|
+
<property name="visible">True</property>
|
370
|
+
<property name="border_width">6</property>
|
371
|
+
<property name="spacing">6</property>
|
372
|
+
<property name="homogeneous">True</property>
|
373
|
+
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
374
|
+
<child>
|
375
|
+
<widget class="GtkButton" id="kaching1">
|
376
|
+
<property name="visible">True</property>
|
377
|
+
<property name="can_focus">True</property>
|
378
|
+
<property name="can_default">True</property>
|
379
|
+
<property name="label" translatable="yes">_KaChing!</property>
|
380
|
+
<property name="use_underline">True</property>
|
381
|
+
<property name="focus_on_click">False</property>
|
382
|
+
<property name="response_id">0</property>
|
383
|
+
</widget>
|
384
|
+
</child>
|
385
|
+
<child>
|
386
|
+
<widget class="GtkButton" id="scribble">
|
387
|
+
<property name="visible">True</property>
|
388
|
+
<property name="can_focus">True</property>
|
389
|
+
<property name="can_default">True</property>
|
390
|
+
<property name="label" translatable="yes">Scribb_le</property>
|
391
|
+
<property name="use_underline">True</property>
|
392
|
+
<property name="focus_on_click">False</property>
|
393
|
+
<property name="response_id">0</property>
|
394
|
+
<signal name="clicked" handler="scribble_clicked"/>
|
395
|
+
</widget>
|
396
|
+
<packing>
|
397
|
+
<property name="position">1</property>
|
398
|
+
</packing>
|
399
|
+
</child>
|
400
|
+
<child>
|
401
|
+
<placeholder/>
|
402
|
+
</child>
|
403
|
+
<child>
|
404
|
+
<widget class="GtkButton" id="print1">
|
405
|
+
<property name="visible">True</property>
|
406
|
+
<property name="can_focus">True</property>
|
407
|
+
<property name="can_default">True</property>
|
408
|
+
<property name="label" translatable="yes">_Verkoopsnota</property>
|
409
|
+
<property name="use_underline">True</property>
|
410
|
+
<property name="focus_on_click">False</property>
|
411
|
+
<property name="response_id">0</property>
|
412
|
+
</widget>
|
413
|
+
<packing>
|
414
|
+
<property name="position">3</property>
|
415
|
+
</packing>
|
416
|
+
</child>
|
417
|
+
</widget>
|
418
|
+
<packing>
|
419
|
+
<property name="expand">False</property>
|
420
|
+
<property name="position">3</property>
|
421
|
+
</packing>
|
422
|
+
</child>
|
423
|
+
</widget>
|
424
|
+
</child>
|
425
|
+
</widget>
|
426
|
+
</glade-interface>
|