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,338 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://web.resource.org/cc/"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
10
|
+
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
11
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
12
|
+
width="128.00000px"
|
13
|
+
height="128.00000px"
|
14
|
+
id="svg2"
|
15
|
+
sodipodi:version="0.32"
|
16
|
+
inkscape:version="0.42"
|
17
|
+
sodipodi:docbase="/home/silvestre/Desktop/nuevos"
|
18
|
+
sodipodi:docname="stock_book.svg">
|
19
|
+
<defs
|
20
|
+
id="defs4">
|
21
|
+
<linearGradient
|
22
|
+
id="linearGradient10532">
|
23
|
+
<stop
|
24
|
+
style="stop-color:#000000;stop-opacity:0.26041666;"
|
25
|
+
offset="0.0000000"
|
26
|
+
id="stop10534" />
|
27
|
+
<stop
|
28
|
+
style="stop-color:#000000;stop-opacity:0;"
|
29
|
+
offset="1"
|
30
|
+
id="stop10536" />
|
31
|
+
</linearGradient>
|
32
|
+
<linearGradient
|
33
|
+
id="linearGradient9796">
|
34
|
+
<stop
|
35
|
+
style="stop-color:#000000;stop-opacity:0.65625000;"
|
36
|
+
offset="0.0000000"
|
37
|
+
id="stop9798" />
|
38
|
+
<stop
|
39
|
+
style="stop-color:#000000;stop-opacity:0;"
|
40
|
+
offset="1"
|
41
|
+
id="stop9800" />
|
42
|
+
</linearGradient>
|
43
|
+
<linearGradient
|
44
|
+
id="linearGradient9040">
|
45
|
+
<stop
|
46
|
+
style="stop-color:#000000;stop-opacity:0.57291669;"
|
47
|
+
offset="0.0000000"
|
48
|
+
id="stop9042" />
|
49
|
+
<stop
|
50
|
+
style="stop-color:#000000;stop-opacity:0;"
|
51
|
+
offset="1"
|
52
|
+
id="stop9044" />
|
53
|
+
</linearGradient>
|
54
|
+
<linearGradient
|
55
|
+
id="linearGradient8304">
|
56
|
+
<stop
|
57
|
+
style="stop-color:#ffffff;stop-opacity:0.75000000;"
|
58
|
+
offset="0.0000000"
|
59
|
+
id="stop8306" />
|
60
|
+
<stop
|
61
|
+
style="stop-color:#ffffff;stop-opacity:0;"
|
62
|
+
offset="1"
|
63
|
+
id="stop8308" />
|
64
|
+
</linearGradient>
|
65
|
+
<linearGradient
|
66
|
+
id="linearGradient8296"
|
67
|
+
inkscape:collect="always">
|
68
|
+
<stop
|
69
|
+
id="stop8298"
|
70
|
+
offset="0"
|
71
|
+
style="stop-color:#ffffff;stop-opacity:0.62400001" />
|
72
|
+
<stop
|
73
|
+
id="stop8300"
|
74
|
+
offset="1"
|
75
|
+
style="stop-color:#ffffff;stop-opacity:0;" />
|
76
|
+
</linearGradient>
|
77
|
+
<linearGradient
|
78
|
+
inkscape:collect="always"
|
79
|
+
id="linearGradient5359">
|
80
|
+
<stop
|
81
|
+
style="stop-color:#a47e51;stop-opacity:1.0000000"
|
82
|
+
offset="0"
|
83
|
+
id="stop5361" />
|
84
|
+
<stop
|
85
|
+
style="stop-color:#c99964;stop-opacity:1.0000000"
|
86
|
+
offset="1"
|
87
|
+
id="stop5363" />
|
88
|
+
</linearGradient>
|
89
|
+
<linearGradient
|
90
|
+
id="linearGradient4625">
|
91
|
+
<stop
|
92
|
+
style="stop-color:#f4f4ee;stop-opacity:1;"
|
93
|
+
offset="0"
|
94
|
+
id="stop4627" />
|
95
|
+
<stop
|
96
|
+
style="stop-color:#b2b2ad;stop-opacity:1.0000000"
|
97
|
+
offset="1.0000000"
|
98
|
+
id="stop4629" />
|
99
|
+
</linearGradient>
|
100
|
+
<linearGradient
|
101
|
+
inkscape:collect="always"
|
102
|
+
xlink:href="#linearGradient4625"
|
103
|
+
id="linearGradient4631"
|
104
|
+
x1="100.60516"
|
105
|
+
y1="65.298889"
|
106
|
+
x2="108.63469"
|
107
|
+
y2="65.298892"
|
108
|
+
gradientUnits="userSpaceOnUse"
|
109
|
+
gradientTransform="translate(-2.000000,0.000000)" />
|
110
|
+
<linearGradient
|
111
|
+
inkscape:collect="always"
|
112
|
+
xlink:href="#linearGradient5359"
|
113
|
+
id="linearGradient5365"
|
114
|
+
x1="85.963097"
|
115
|
+
y1="99.660515"
|
116
|
+
x2="45.107010"
|
117
|
+
y2="33.062729"
|
118
|
+
gradientUnits="userSpaceOnUse" />
|
119
|
+
<linearGradient
|
120
|
+
inkscape:collect="always"
|
121
|
+
xlink:href="#linearGradient8296"
|
122
|
+
id="linearGradient8294"
|
123
|
+
gradientUnits="userSpaceOnUse"
|
124
|
+
x1="60.785091"
|
125
|
+
y1="-20.288902"
|
126
|
+
x2="59.115170"
|
127
|
+
y2="71.890686" />
|
128
|
+
<linearGradient
|
129
|
+
inkscape:collect="always"
|
130
|
+
xlink:href="#linearGradient8304"
|
131
|
+
id="linearGradient8310"
|
132
|
+
x1="53.608860"
|
133
|
+
y1="5.6855788"
|
134
|
+
x2="54.789669"
|
135
|
+
y2="20.814316"
|
136
|
+
gradientUnits="userSpaceOnUse" />
|
137
|
+
<linearGradient
|
138
|
+
inkscape:collect="always"
|
139
|
+
xlink:href="#linearGradient9040"
|
140
|
+
id="linearGradient9046"
|
141
|
+
x1="46.051662"
|
142
|
+
y1="36.369003"
|
143
|
+
x2="70.385277"
|
144
|
+
y2="42.058598"
|
145
|
+
gradientUnits="userSpaceOnUse" />
|
146
|
+
<linearGradient
|
147
|
+
inkscape:collect="always"
|
148
|
+
xlink:href="#linearGradient4625"
|
149
|
+
id="linearGradient9058"
|
150
|
+
gradientUnits="userSpaceOnUse"
|
151
|
+
gradientTransform="translate(-2.000000,0.000000)"
|
152
|
+
x1="100.60516"
|
153
|
+
y1="65.298889"
|
154
|
+
x2="108.63469"
|
155
|
+
y2="65.298892" />
|
156
|
+
<linearGradient
|
157
|
+
inkscape:collect="always"
|
158
|
+
xlink:href="#linearGradient5359"
|
159
|
+
id="linearGradient9060"
|
160
|
+
gradientUnits="userSpaceOnUse"
|
161
|
+
x1="85.963097"
|
162
|
+
y1="99.660515"
|
163
|
+
x2="45.107010"
|
164
|
+
y2="33.062729" />
|
165
|
+
<linearGradient
|
166
|
+
inkscape:collect="always"
|
167
|
+
xlink:href="#linearGradient8296"
|
168
|
+
id="linearGradient9062"
|
169
|
+
gradientUnits="userSpaceOnUse"
|
170
|
+
x1="60.785091"
|
171
|
+
y1="-20.288902"
|
172
|
+
x2="59.115170"
|
173
|
+
y2="71.890686" />
|
174
|
+
<linearGradient
|
175
|
+
inkscape:collect="always"
|
176
|
+
xlink:href="#linearGradient9040"
|
177
|
+
id="linearGradient9064"
|
178
|
+
gradientUnits="userSpaceOnUse"
|
179
|
+
x1="46.051662"
|
180
|
+
y1="36.369003"
|
181
|
+
x2="70.385277"
|
182
|
+
y2="42.058598" />
|
183
|
+
<linearGradient
|
184
|
+
inkscape:collect="always"
|
185
|
+
xlink:href="#linearGradient8304"
|
186
|
+
id="linearGradient9066"
|
187
|
+
gradientUnits="userSpaceOnUse"
|
188
|
+
x1="53.608860"
|
189
|
+
y1="5.6855788"
|
190
|
+
x2="54.789669"
|
191
|
+
y2="20.814316" />
|
192
|
+
<linearGradient
|
193
|
+
inkscape:collect="always"
|
194
|
+
xlink:href="#linearGradient9796"
|
195
|
+
id="linearGradient9802"
|
196
|
+
x1="71.793358"
|
197
|
+
y1="154.92252"
|
198
|
+
x2="77.933578"
|
199
|
+
y2="92.103325"
|
200
|
+
gradientUnits="userSpaceOnUse" />
|
201
|
+
<radialGradient
|
202
|
+
inkscape:collect="always"
|
203
|
+
xlink:href="#linearGradient10532"
|
204
|
+
id="radialGradient10538"
|
205
|
+
cx="53.845020"
|
206
|
+
cy="116.42805"
|
207
|
+
fx="53.845020"
|
208
|
+
fy="116.42805"
|
209
|
+
r="47.232471"
|
210
|
+
gradientTransform="matrix(1.000000,-1.646632e-18,-2.979184e-18,0.225000,-6.326917e-16,90.23174)"
|
211
|
+
gradientUnits="userSpaceOnUse" />
|
212
|
+
<radialGradient
|
213
|
+
inkscape:collect="always"
|
214
|
+
xlink:href="#linearGradient10532"
|
215
|
+
id="radialGradient10542"
|
216
|
+
gradientUnits="userSpaceOnUse"
|
217
|
+
gradientTransform="matrix(1.000000,1.016439e-17,-5.412540e-18,0.225000,1.605035e-15,90.23174)"
|
218
|
+
cx="53.845020"
|
219
|
+
cy="116.42805"
|
220
|
+
fx="53.845020"
|
221
|
+
fy="116.42805"
|
222
|
+
r="47.232471" />
|
223
|
+
<linearGradient
|
224
|
+
inkscape:collect="always"
|
225
|
+
xlink:href="#linearGradient9040"
|
226
|
+
id="linearGradient1353"
|
227
|
+
gradientUnits="userSpaceOnUse"
|
228
|
+
x1="46.051662"
|
229
|
+
y1="36.369003"
|
230
|
+
x2="70.385277"
|
231
|
+
y2="42.058598"
|
232
|
+
gradientTransform="translate(-22.71091,4.007808)" />
|
233
|
+
<linearGradient
|
234
|
+
inkscape:collect="always"
|
235
|
+
xlink:href="#linearGradient8296"
|
236
|
+
id="linearGradient1356"
|
237
|
+
gradientUnits="userSpaceOnUse"
|
238
|
+
x1="60.785091"
|
239
|
+
y1="-20.288902"
|
240
|
+
x2="59.115170"
|
241
|
+
y2="71.890686"
|
242
|
+
gradientTransform="translate(-22.71091,4.007808)" />
|
243
|
+
<linearGradient
|
244
|
+
inkscape:collect="always"
|
245
|
+
xlink:href="#linearGradient5359"
|
246
|
+
id="linearGradient1359"
|
247
|
+
gradientUnits="userSpaceOnUse"
|
248
|
+
x1="85.963097"
|
249
|
+
y1="99.660515"
|
250
|
+
x2="45.107010"
|
251
|
+
y2="33.062729"
|
252
|
+
gradientTransform="translate(-22.71091,4.007808)" />
|
253
|
+
<linearGradient
|
254
|
+
inkscape:collect="always"
|
255
|
+
xlink:href="#linearGradient4625"
|
256
|
+
id="linearGradient1362"
|
257
|
+
gradientUnits="userSpaceOnUse"
|
258
|
+
gradientTransform="translate(-24.71091,4.007808)"
|
259
|
+
x1="100.60516"
|
260
|
+
y1="65.298889"
|
261
|
+
x2="108.63469"
|
262
|
+
y2="65.298892" />
|
263
|
+
</defs>
|
264
|
+
<sodipodi:namedview
|
265
|
+
id="base"
|
266
|
+
pagecolor="#ffffff"
|
267
|
+
bordercolor="#666666"
|
268
|
+
borderopacity="1.0"
|
269
|
+
inkscape:pageopacity="0.0"
|
270
|
+
inkscape:pageshadow="2"
|
271
|
+
inkscape:zoom="1.4970776"
|
272
|
+
inkscape:cx="150.04152"
|
273
|
+
inkscape:cy="105.14116"
|
274
|
+
inkscape:document-units="px"
|
275
|
+
inkscape:current-layer="layer1"
|
276
|
+
inkscape:window-width="1022"
|
277
|
+
inkscape:window-height="719"
|
278
|
+
inkscape:window-x="0"
|
279
|
+
inkscape:window-y="25" />
|
280
|
+
<metadata
|
281
|
+
id="metadata7">
|
282
|
+
<rdf:RDF>
|
283
|
+
<cc:Work
|
284
|
+
rdf:about="">
|
285
|
+
<dc:format>image/svg+xml</dc:format>
|
286
|
+
<dc:type
|
287
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
288
|
+
</cc:Work>
|
289
|
+
</rdf:RDF>
|
290
|
+
</metadata>
|
291
|
+
<g
|
292
|
+
inkscape:label="Layer 1"
|
293
|
+
inkscape:groupmode="layer"
|
294
|
+
id="layer1">
|
295
|
+
<path
|
296
|
+
sodipodi:type="arc"
|
297
|
+
style="opacity:1.0000000;color:#000000;fill:url(#radialGradient10542);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
|
298
|
+
id="path10540"
|
299
|
+
sodipodi:cx="53.845020"
|
300
|
+
sodipodi:cy="116.42805"
|
301
|
+
sodipodi:rx="47.232471"
|
302
|
+
sodipodi:ry="10.627306"
|
303
|
+
d="M 101.07749 116.42805 A 47.232471 10.627306 0 1 1 6.6125488,116.42805 A 47.232471 10.627306 0 1 1 101.07749 116.42805 z"
|
304
|
+
transform="matrix(0.867050,0.108136,-0.120151,0.963390,33.17654,-2.032428)" />
|
305
|
+
<path
|
306
|
+
sodipodi:type="arc"
|
307
|
+
style="opacity:1.0000000;color:#000000;fill:url(#radialGradient10538);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:inline;overflow:visible"
|
308
|
+
id="path9804"
|
309
|
+
sodipodi:cx="53.845020"
|
310
|
+
sodipodi:cy="116.42805"
|
311
|
+
sodipodi:rx="47.232471"
|
312
|
+
sodipodi:ry="10.627306"
|
313
|
+
d="M 101.07749 116.42805 A 47.232471 10.627306 0 1 1 6.6125488,116.42805 A 47.232471 10.627306 0 1 1 101.07749 116.42805 z"
|
314
|
+
transform="matrix(0.992312,0.123758,-0.137509,1.102569,10.28358,-24.03743)" />
|
315
|
+
<path
|
316
|
+
style="fill:url(#linearGradient9802);fill-opacity:1.0;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
317
|
+
d="M 87.380074,119.97048 L 127.05535,101.07749 L 74.154982,87.852399 L 71.793358,111.94096 L 87.380074,119.97048 z "
|
318
|
+
id="path9068" />
|
319
|
+
<path
|
320
|
+
style="fill:#c99964;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#ab773e;stroke-width:2.8653314;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
|
321
|
+
d="M 24.634341,25.602481 L 24.634341,105.03329 L 87.360810,118.38491 L 87.360810,18.587225 L 24.634341,25.602481 z "
|
322
|
+
id="path3897" />
|
323
|
+
<path
|
324
|
+
style="fill:url(#linearGradient1362);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
325
|
+
d="M 9.0603080,26.207070 L 9.0603080,106.26611 L 71.643334,118.07423 L 83.923780,115.47644 L 83.923780,22.664635 L 71.643334,20.539173 L 9.0603080,26.207070 z "
|
326
|
+
id="path1710"
|
327
|
+
sodipodi:nodetypes="ccccccc" />
|
328
|
+
<path
|
329
|
+
style="fill:url(#linearGradient1359);fill-opacity:1.0000000;fill-rule:evenodd;stroke:#ab773e;stroke-width:3.0000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
|
330
|
+
d="M 9.6433340,24.317771 L 9.6433340,107.21076 L 75.532632,121.14434 L 75.532632,16.996738 L 9.6433340,24.317771 z "
|
331
|
+
id="path2443" />
|
332
|
+
<path
|
333
|
+
style="fill:url(#linearGradient1356);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:0.25000000pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
334
|
+
d="M 11.021475,26.134875 L 11.021475,75.230526 C 30.281220,38.158300 57.222597,54.189533 73.810470,82.244190 L 73.810470,18.787227 L 11.021475,26.134875 z "
|
335
|
+
id="path7549"
|
336
|
+
sodipodi:nodetypes="ccccc" />
|
337
|
+
</g>
|
338
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,207 @@
|
|
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="can_focus">True</property>
|
8
|
+
<property name="border_width">12</property>
|
9
|
+
<property name="title" translatable="yes">Automaat</property>
|
10
|
+
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
11
|
+
<child>
|
12
|
+
<widget class="GtkVBox" id="vbox1">
|
13
|
+
<property name="visible">True</property>
|
14
|
+
<property name="spacing">12</property>
|
15
|
+
<child>
|
16
|
+
<widget class="GtkHBox" id="hbox3">
|
17
|
+
<property name="visible">True</property>
|
18
|
+
<property name="spacing">12</property>
|
19
|
+
<child>
|
20
|
+
<widget class="GtkLabel" id="label26">
|
21
|
+
<property name="visible">True</property>
|
22
|
+
<property name="label" translatable="yes">Debugger:</property>
|
23
|
+
</widget>
|
24
|
+
<packing>
|
25
|
+
<property name="expand">False</property>
|
26
|
+
<property name="fill">False</property>
|
27
|
+
</packing>
|
28
|
+
</child>
|
29
|
+
<child>
|
30
|
+
<widget class="GtkComboBox" id="debuggers">
|
31
|
+
<property name="visible">True</property>
|
32
|
+
</widget>
|
33
|
+
<packing>
|
34
|
+
<property name="expand">False</property>
|
35
|
+
<property name="position">1</property>
|
36
|
+
</packing>
|
37
|
+
</child>
|
38
|
+
<child>
|
39
|
+
<placeholder/>
|
40
|
+
</child>
|
41
|
+
</widget>
|
42
|
+
<packing>
|
43
|
+
<property name="expand">False</property>
|
44
|
+
</packing>
|
45
|
+
</child>
|
46
|
+
<child>
|
47
|
+
<widget class="GtkHBox" id="hbox4">
|
48
|
+
<property name="visible">True</property>
|
49
|
+
<property name="spacing">18</property>
|
50
|
+
<child>
|
51
|
+
<widget class="GtkVBox" id="vbox3">
|
52
|
+
<property name="visible">True</property>
|
53
|
+
<property name="spacing">6</property>
|
54
|
+
<child>
|
55
|
+
<widget class="GtkLabel" id="label19">
|
56
|
+
<property name="visible">True</property>
|
57
|
+
<property name="xalign">0</property>
|
58
|
+
<property name="label" translatable="yes"><b>Blikjes</b></property>
|
59
|
+
<property name="use_markup">True</property>
|
60
|
+
</widget>
|
61
|
+
<packing>
|
62
|
+
<property name="expand">False</property>
|
63
|
+
<property name="fill">False</property>
|
64
|
+
</packing>
|
65
|
+
</child>
|
66
|
+
<child>
|
67
|
+
<widget class="GtkAlignment" id="alignment2">
|
68
|
+
<property name="visible">True</property>
|
69
|
+
<property name="left_padding">12</property>
|
70
|
+
<child>
|
71
|
+
<widget class="GtkTable" id="blikjes_table">
|
72
|
+
<property name="visible">True</property>
|
73
|
+
<property name="n_rows">1</property>
|
74
|
+
<property name="n_columns">1</property>
|
75
|
+
<property name="column_spacing">12</property>
|
76
|
+
<property name="row_spacing">6</property>
|
77
|
+
<child>
|
78
|
+
<placeholder/>
|
79
|
+
</child>
|
80
|
+
</widget>
|
81
|
+
</child>
|
82
|
+
</widget>
|
83
|
+
<packing>
|
84
|
+
<property name="expand">False</property>
|
85
|
+
<property name="position">1</property>
|
86
|
+
</packing>
|
87
|
+
</child>
|
88
|
+
</widget>
|
89
|
+
</child>
|
90
|
+
<child>
|
91
|
+
<widget class="GtkVBox" id="vbox4">
|
92
|
+
<property name="visible">True</property>
|
93
|
+
<property name="spacing">6</property>
|
94
|
+
<child>
|
95
|
+
<widget class="GtkLabel" id="label20">
|
96
|
+
<property name="visible">True</property>
|
97
|
+
<property name="xalign">0</property>
|
98
|
+
<property name="label" translatable="yes"><b>Flesjes</b></property>
|
99
|
+
<property name="use_markup">True</property>
|
100
|
+
</widget>
|
101
|
+
<packing>
|
102
|
+
<property name="expand">False</property>
|
103
|
+
<property name="fill">False</property>
|
104
|
+
</packing>
|
105
|
+
</child>
|
106
|
+
<child>
|
107
|
+
<widget class="GtkAlignment" id="alignment3">
|
108
|
+
<property name="visible">True</property>
|
109
|
+
<property name="left_padding">12</property>
|
110
|
+
<child>
|
111
|
+
<widget class="GtkTable" id="flesjes_table">
|
112
|
+
<property name="visible">True</property>
|
113
|
+
<property name="n_rows">1</property>
|
114
|
+
<property name="n_columns">1</property>
|
115
|
+
<property name="column_spacing">12</property>
|
116
|
+
<property name="row_spacing">6</property>
|
117
|
+
<child>
|
118
|
+
<placeholder/>
|
119
|
+
</child>
|
120
|
+
</widget>
|
121
|
+
</child>
|
122
|
+
</widget>
|
123
|
+
<packing>
|
124
|
+
<property name="expand">False</property>
|
125
|
+
<property name="position">1</property>
|
126
|
+
</packing>
|
127
|
+
</child>
|
128
|
+
</widget>
|
129
|
+
<packing>
|
130
|
+
<property name="position">1</property>
|
131
|
+
</packing>
|
132
|
+
</child>
|
133
|
+
</widget>
|
134
|
+
<packing>
|
135
|
+
<property name="position">1</property>
|
136
|
+
</packing>
|
137
|
+
</child>
|
138
|
+
<child>
|
139
|
+
<widget class="GtkHBox" id="hbox5">
|
140
|
+
<property name="visible">True</property>
|
141
|
+
<child>
|
142
|
+
<widget class="GtkLabel" id="notification">
|
143
|
+
<property name="visible">True</property>
|
144
|
+
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
145
|
+
<property name="wrap">True</property>
|
146
|
+
</widget>
|
147
|
+
</child>
|
148
|
+
<child>
|
149
|
+
<widget class="GtkButton" id="sell">
|
150
|
+
<property name="visible">True</property>
|
151
|
+
<property name="can_focus">True</property>
|
152
|
+
<property name="response_id">0</property>
|
153
|
+
<signal name="clicked" handler="sell_clicked"/>
|
154
|
+
<child>
|
155
|
+
<widget class="GtkAlignment" id="alignment4">
|
156
|
+
<property name="visible">True</property>
|
157
|
+
<property name="xscale">0</property>
|
158
|
+
<property name="yscale">0</property>
|
159
|
+
<child>
|
160
|
+
<widget class="GtkHBox" id="hbox6">
|
161
|
+
<property name="visible">True</property>
|
162
|
+
<property name="spacing">2</property>
|
163
|
+
<child>
|
164
|
+
<widget class="GtkImage" id="image2">
|
165
|
+
<property name="visible">True</property>
|
166
|
+
<property name="stock">gtk-ok</property>
|
167
|
+
</widget>
|
168
|
+
<packing>
|
169
|
+
<property name="expand">False</property>
|
170
|
+
<property name="fill">False</property>
|
171
|
+
</packing>
|
172
|
+
</child>
|
173
|
+
<child>
|
174
|
+
<widget class="GtkLabel" id="label27">
|
175
|
+
<property name="visible">True</property>
|
176
|
+
<property name="label" translatable="yes">Verkopen</property>
|
177
|
+
<property name="use_underline">True</property>
|
178
|
+
</widget>
|
179
|
+
<packing>
|
180
|
+
<property name="expand">False</property>
|
181
|
+
<property name="fill">False</property>
|
182
|
+
<property name="position">1</property>
|
183
|
+
</packing>
|
184
|
+
</child>
|
185
|
+
</widget>
|
186
|
+
</child>
|
187
|
+
</widget>
|
188
|
+
</child>
|
189
|
+
</widget>
|
190
|
+
<packing>
|
191
|
+
<property name="expand">False</property>
|
192
|
+
<property name="fill">False</property>
|
193
|
+
<property name="pack_type">GTK_PACK_END</property>
|
194
|
+
<property name="position">1</property>
|
195
|
+
</packing>
|
196
|
+
</child>
|
197
|
+
</widget>
|
198
|
+
<packing>
|
199
|
+
<property name="expand">False</property>
|
200
|
+
<property name="pack_type">GTK_PACK_END</property>
|
201
|
+
<property name="position">2</property>
|
202
|
+
</packing>
|
203
|
+
</child>
|
204
|
+
</widget>
|
205
|
+
</child>
|
206
|
+
</widget>
|
207
|
+
</glade-interface>
|
data/lib/lib/errors.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
module Ig3tool
|
2
|
+
|
3
|
+
class IG3Error < Exception
|
4
|
+
end
|
5
|
+
|
6
|
+
class Token < IG3Error
|
7
|
+
end
|
8
|
+
|
9
|
+
class ProductNotFound < IG3Error
|
10
|
+
end
|
11
|
+
|
12
|
+
class PermissionDenied < IG3Error
|
13
|
+
end
|
14
|
+
|
15
|
+
class NeedDebugger < IG3Error
|
16
|
+
end
|
17
|
+
|
18
|
+
class NotADebugger < IG3Error
|
19
|
+
end
|
20
|
+
|
21
|
+
class NotAMember < IG3Error
|
22
|
+
end
|
23
|
+
|
24
|
+
class Needed < IG3Error
|
25
|
+
end
|
26
|
+
|
27
|
+
class NotFound < IG3Error
|
28
|
+
end
|
29
|
+
|
30
|
+
class WrongRequestType < IG3Error
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
# PRINTING
|
35
|
+
|
36
|
+
class PrintBackend < IG3Error
|
37
|
+
end
|
38
|
+
|
39
|
+
class NoPrintAccount < IG3Error
|
40
|
+
end
|
41
|
+
|
42
|
+
class NotEnoughCredit < IG3Error
|
43
|
+
end
|
44
|
+
|
45
|
+
class WrongPrintlogType < IG3Error
|
46
|
+
end
|
47
|
+
|
48
|
+
class SaveFailed < IG3Error
|
49
|
+
end
|
50
|
+
|
51
|
+
class AliasNotFound < IG3Error
|
52
|
+
end
|
53
|
+
|
54
|
+
class TransactionNotFound < IG3Error
|
55
|
+
end
|
56
|
+
|
57
|
+
class PrintUserNotFound < IG3Error
|
58
|
+
end
|
59
|
+
|
60
|
+
# INTERNE
|
61
|
+
|
62
|
+
class TransactionLogFailed < IG3Error
|
63
|
+
end
|
64
|
+
|
65
|
+
class NoPositiveAmount < IG3Error
|
66
|
+
end
|
67
|
+
|
68
|
+
class TransactionFailed < IG3Error
|
69
|
+
end
|
70
|
+
|
71
|
+
class SaldoNotZero < IG3Error
|
72
|
+
end
|
73
|
+
|
74
|
+
class Afgesloten < IG3Error
|
75
|
+
end
|
76
|
+
|
77
|
+
# BIB
|
78
|
+
|
79
|
+
class StillHaveLoans < IG3Error
|
80
|
+
end
|
81
|
+
|
82
|
+
class BibSectionNotFound < IG3Error
|
83
|
+
end
|
84
|
+
|
85
|
+
class InvalidISBN < IG3Error
|
86
|
+
end
|
87
|
+
|
88
|
+
class BookNotAvaible < IG3Error
|
89
|
+
end
|
90
|
+
end
|