mcc2 1.5.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.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +0 -0
  3. data/.autotest +23 -0
  4. data/.gitignore +15 -0
  5. data/.rubocop.yml +3 -0
  6. data/Gemfile +13 -0
  7. data/History.txt +6 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +51 -0
  10. data/Rakefile +12 -0
  11. data/config/i18n-tasks.yml +193 -0
  12. data/exe/mcc2 +18 -0
  13. data/exe/mcc2-generate-preview +17 -0
  14. data/exe/mcc2print +6 -0
  15. data/lib/libguib16.rb +1620 -0
  16. data/lib/mcc2/advanced_data_edit_dlg.rb +139 -0
  17. data/lib/mcc2/cc_dialogbox.rb +52 -0
  18. data/lib/mcc2/constants.rb +154 -0
  19. data/lib/mcc2/dataman/base.rb +61 -0
  20. data/lib/mcc2/dataman/csv.rb +49 -0
  21. data/lib/mcc2/dataman/database.rb +8 -0
  22. data/lib/mcc2/dataman/dbf.rb +45 -0
  23. data/lib/mcc2/dataman/none.rb +25 -0
  24. data/lib/mcc2/dataview.rb +348 -0
  25. data/lib/mcc2/dataview_dlg.rb +232 -0
  26. data/lib/mcc2/debug_tools.rb +20 -0
  27. data/lib/mcc2/fx_colored_item.rb +101 -0
  28. data/lib/mcc2/generate_preview.rb +68 -0
  29. data/lib/mcc2/gui/advanced_data_edit_dlg.rbin +0 -0
  30. data/lib/mcc2/gui/dataview_dlg.pp +522 -0
  31. data/lib/mcc2/gui/layoutview_dlg.pp +5115 -0
  32. data/lib/mcc2/gui/mcc2_mainwin.pp +838 -0
  33. data/lib/mcc2/gui/picture_data_edit_dlg.rbin +0 -0
  34. data/lib/mcc2/gui/printerview_dlg.pp +3311 -0
  35. data/lib/mcc2/images/Image-Arrow-Left.gif +0 -0
  36. data/lib/mcc2/images/Image-Arrow-Right.gif +0 -0
  37. data/lib/mcc2/images/Image-FastArrowLeft.gif +0 -0
  38. data/lib/mcc2/images/Image-FastArrowRight.bmp +0 -0
  39. data/lib/mcc2/images/Image-FastArrowRight.gif +0 -0
  40. data/lib/mcc2/images/application-exit.png +0 -0
  41. data/lib/mcc2/images/copy.png +0 -0
  42. data/lib/mcc2/images/country_de.png +0 -0
  43. data/lib/mcc2/images/country_gb.png +0 -0
  44. data/lib/mcc2/images/country_rs.png +0 -0
  45. data/lib/mcc2/images/cut.png +0 -0
  46. data/lib/mcc2/images/distribute-horizontal-baseline.png +0 -0
  47. data/lib/mcc2/images/distribute-vertical-baseline.png +0 -0
  48. data/lib/mcc2/images/document-close.png +0 -0
  49. data/lib/mcc2/images/document-edit.png +0 -0
  50. data/lib/mcc2/images/document-new.png +0 -0
  51. data/lib/mcc2/images/document-open.png +0 -0
  52. data/lib/mcc2/images/document-print-frame.png +0 -0
  53. data/lib/mcc2/images/document-print.png +0 -0
  54. data/lib/mcc2/images/document-save-as.png +0 -0
  55. data/lib/mcc2/images/document-save.png +0 -0
  56. data/lib/mcc2/images/documentation.png +0 -0
  57. data/lib/mcc2/images/draw-rectangle.png +0 -0
  58. data/lib/mcc2/images/dummy.gif +0 -0
  59. data/lib/mcc2/images/exchange-positions.png +0 -0
  60. data/lib/mcc2/images/insert-image.png +0 -0
  61. data/lib/mcc2/images/insert-text.png +0 -0
  62. data/lib/mcc2/images/libreoffice-oasis-master-document.png +0 -0
  63. data/lib/mcc2/images/measure.png +0 -0
  64. data/lib/mcc2/images/messagebox_warning.png +0 -0
  65. data/lib/mcc2/images/paste.png +0 -0
  66. data/lib/mcc2/images/process-stop.png +0 -0
  67. data/lib/mcc2/images/zoom-in.png +0 -0
  68. data/lib/mcc2/layout.rb +323 -0
  69. data/lib/mcc2/layout_file.rb +794 -0
  70. data/lib/mcc2/layout_object/barcode.rb +33 -0
  71. data/lib/mcc2/layout_object/box.rb +18 -0
  72. data/lib/mcc2/layout_object/chip.rb +54 -0
  73. data/lib/mcc2/layout_object/embed.rb +16 -0
  74. data/lib/mcc2/layout_object/go_attribut.rb +16 -0
  75. data/lib/mcc2/layout_object/graphic.rb +59 -0
  76. data/lib/mcc2/layout_object/magstripe.rb +13 -0
  77. data/lib/mcc2/layout_object/picture.rb +22 -0
  78. data/lib/mcc2/layout_object/text.rb +29 -0
  79. data/lib/mcc2/layout_win.rb +2052 -0
  80. data/lib/mcc2/layoutview.rb +845 -0
  81. data/lib/mcc2/layoutview_dlg.rb +2058 -0
  82. data/lib/mcc2/locales.rb +27 -0
  83. data/lib/mcc2/mcc2_mainwin.rb +453 -0
  84. data/lib/mcc2/mcc2gui.rb +295 -0
  85. data/lib/mcc2/mcc2print.rb +54 -0
  86. data/lib/mcc2/picture_data_edit_dlg.rb +139 -0
  87. data/lib/mcc2/print_dlg.rb +520 -0
  88. data/lib/mcc2/printer/base.rb +148 -0
  89. data/lib/mcc2/printer/card_printer.rb +45 -0
  90. data/lib/mcc2/printer/file_printer.rb +135 -0
  91. data/lib/mcc2/printer/gdi_card_printer.rb +14 -0
  92. data/lib/mcc2/printer/gdi_printer.rb +197 -0
  93. data/lib/mcc2/printer/linux_cups_printer.rb +92 -0
  94. data/lib/mcc2/printer/preview.rb +277 -0
  95. data/lib/mcc2/printer/printer_cab.rb +118 -0
  96. data/lib/mcc2/printer/printer_cx320_direct.rb +286 -0
  97. data/lib/mcc2/printer/printer_epl.rb +118 -0
  98. data/lib/mcc2/printer/printer_ttp34x.rb +124 -0
  99. data/lib/mcc2/printer/printer_zebra.rb +324 -0
  100. data/lib/mcc2/printer/svg_drawer.rb +689 -0
  101. data/lib/mcc2/printerview.rb +604 -0
  102. data/lib/mcc2/printerview_dlg.rb +1248 -0
  103. data/lib/mcc2/version.rb +3 -0
  104. data/lib/mcc2.rb +11 -0
  105. data/locales/de.yml +6 -0
  106. data/locales/en.yml +502 -0
  107. data/locales/rs.yml +502 -0
  108. data/mcc2.gemspec +41 -0
  109. data/test/dummy.rb +19 -0
  110. data/test/layouts/bart_simpson.png +0 -0
  111. data/test/layouts/color_test.xml +151 -0
  112. data/test/layouts/ms.xml +67 -0
  113. data/test/ruby_print.rb +380 -0
  114. data/test/test.csv +4 -0
  115. data/test/test.dbf +0 -0
  116. data/test/test.str +4 -0
  117. data/test/test_mcc2.rb +8 -0
  118. data.tar.gz.sig +6 -0
  119. metadata +421 -0
  120. metadata.gz.sig +0 -0
@@ -0,0 +1,1248 @@
1
+ # source generated by foxGUIb 1.1.1
2
+
3
+ require 'i18n'
4
+
5
+ class Dialogbox_printerview
6
+ def initialize(parent)
7
+ construct_widget_tree(parent)
8
+ init if respond_to? :init
9
+ end
10
+
11
+ def construct_widget_tree(parent)
12
+ @topwin =
13
+ FX::DialogBox.new(parent) { |w_dialogbox_printerview|
14
+ @dialogbox_printerview = w_dialogbox_printerview
15
+ w_dialogbox_printerview.wdg_name = "dialogbox_printerview"
16
+ w_dialogbox_printerview.shown = true
17
+ w_dialogbox_printerview.x = 425
18
+ w_dialogbox_printerview.y = 1048
19
+ w_dialogbox_printerview.width = 570
20
+ w_dialogbox_printerview.height = 696
21
+ FX::VerticalFrame.new(@dialogbox_printerview) { |w_verticalframe_printersetup|
22
+ @verticalframe_printersetup = w_verticalframe_printersetup
23
+ w_verticalframe_printersetup.wdg_name = "verticalframe_printersetup"
24
+ w_verticalframe_printersetup.width = 570
25
+ w_verticalframe_printersetup.height = 696
26
+ FX::ComboBox.new(@verticalframe_printersetup) { |w_combobox_printertype|
27
+ @combobox_printertype = w_combobox_printertype
28
+ w_combobox_printertype.wdg_name = "combobox_printertype"
29
+ w_combobox_printertype.comboStyle = 1048576
30
+ w_combobox_printertype.layoutHints = 1024
31
+ w_combobox_printertype.width = 570
32
+ w_combobox_printertype.height = 24
33
+ w_combobox_printertype.numVisible = 10
34
+ w_combobox_printertype.numColumns = 10
35
+ }
36
+ FX::TabBook.new(@verticalframe_printersetup) { |w_tabbook_printers|
37
+ @tabbook_printers = w_tabbook_printers
38
+ w_tabbook_printers.wdg_name = "tabbook_printers"
39
+ w_tabbook_printers.y = 24
40
+ w_tabbook_printers.width = 570
41
+ w_tabbook_printers.height = 672
42
+ w_tabbook_printers.backColor = Fox::FXRGBA(226, 226, 226, 255)
43
+ w_tabbook_printers.baseColor = Fox::FXRGBA(226, 226, 226, 255)
44
+ w_tabbook_printers.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
45
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_gdi_printer|
46
+ @tabitem_gdi_printer = w_tabitem_gdi_printer
47
+ w_tabitem_gdi_printer.wdg_name = "tabitem_gdi_printer"
48
+ w_tabitem_gdi_printer.x = 4
49
+ w_tabitem_gdi_printer.y = 4
50
+ w_tabitem_gdi_printer.width = 89
51
+ w_tabitem_gdi_printer.height = 26
52
+ w_tabitem_gdi_printer.text = I18n.t("tabitem_gdi_printer_text", scope: "dialogbox_printerview", default: "Windows-GDI")
53
+ }
54
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe6|
55
+ @verticalframe6 = w_verticalframe6
56
+ w_verticalframe6.wdg_name = "verticalframe6"
57
+ w_verticalframe6.x = 4
58
+ w_verticalframe6.y = 28
59
+ w_verticalframe6.width = 562
60
+ w_verticalframe6.height = 640
61
+ FX::Matrix.new(@verticalframe6) { |w_matrix_gdi|
62
+ @matrix_gdi = w_matrix_gdi
63
+ w_matrix_gdi.wdg_name = "matrix_gdi"
64
+ w_matrix_gdi.matrixStyle = 131072
65
+ w_matrix_gdi.width = 562
66
+ w_matrix_gdi.height = 640
67
+ w_matrix_gdi.numColumns = 3
68
+ FX::Label.new(@matrix_gdi) { |w_label_gdi_printer|
69
+ @label_gdi_printer = w_label_gdi_printer
70
+ w_label_gdi_printer.wdg_name = "label_gdi_printer"
71
+ w_label_gdi_printer.x = 4
72
+ w_label_gdi_printer.y = 4
73
+ w_label_gdi_printer.width = 51
74
+ w_label_gdi_printer.height = 22
75
+ w_label_gdi_printer.text = I18n.t("label_gdi_printer_text", scope: "dialogbox_printerview", default: "Drucker")
76
+ }
77
+ FX::ComboBox.new(@matrix_gdi) { |w_combobox_gdi_printer|
78
+ @combobox_gdi_printer = w_combobox_gdi_printer
79
+ w_combobox_gdi_printer.wdg_name = "combobox_gdi_printer"
80
+ w_combobox_gdi_printer.comboStyle = 1048576
81
+ w_combobox_gdi_printer.layoutHints = 1025
82
+ w_combobox_gdi_printer.x = 59
83
+ w_combobox_gdi_printer.y = 4
84
+ w_combobox_gdi_printer.width = 427
85
+ w_combobox_gdi_printer.height = 24
86
+ }
87
+ FX::Button.new(@matrix_gdi) { |w_button_gdi_printersetup|
88
+ @button_gdi_printersetup = w_button_gdi_printersetup
89
+ w_button_gdi_printersetup.wdg_name = "button_gdi_printersetup"
90
+ w_button_gdi_printersetup.layoutHints = 1024
91
+ w_button_gdi_printersetup.x = 490
92
+ w_button_gdi_printersetup.y = 4
93
+ w_button_gdi_printersetup.width = 68
94
+ w_button_gdi_printersetup.height = 26
95
+ w_button_gdi_printersetup.text = I18n.t("button_gdi_printersetup_text", scope: "dialogbox_printerview", default: "Einrichten")
96
+ w_button_gdi_printersetup.tipText = I18n.t("button_gdi_printersetup_tipText", scope: "dialogbox_printerview", default: "Dateiauswahl")
97
+ }
98
+ }
99
+ }
100
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_file_printer|
101
+ @tabitem_file_printer = w_tabitem_file_printer
102
+ w_tabitem_file_printer.wdg_name = "tabitem_file_printer"
103
+ w_tabitem_file_printer.x = 92
104
+ w_tabitem_file_printer.y = 6
105
+ w_tabitem_file_printer.width = 39
106
+ w_tabitem_file_printer.height = 26
107
+ w_tabitem_file_printer.text = I18n.t("tabitem_file_printer_text", scope: "dialogbox_printerview", default: "Datei")
108
+ }
109
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe7|
110
+ @verticalframe7 = w_verticalframe7
111
+ w_verticalframe7.wdg_name = "verticalframe7"
112
+ w_verticalframe7.shown = false
113
+ w_verticalframe7.x = 4
114
+ w_verticalframe7.y = 28
115
+ w_verticalframe7.width = 562
116
+ w_verticalframe7.height = 640
117
+ FX::Matrix.new(@verticalframe7) { |w_matrix_file|
118
+ @matrix_file = w_matrix_file
119
+ w_matrix_file.wdg_name = "matrix_file"
120
+ w_matrix_file.matrixStyle = 131072
121
+ w_matrix_file.width = 562
122
+ w_matrix_file.height = 640
123
+ w_matrix_file.numColumns = 3
124
+ w_matrix_file.numRows = 2
125
+ FX::Label.new(@matrix_file) { |w_label_fileprinter_save_as|
126
+ @label_fileprinter_save_as = w_label_fileprinter_save_as
127
+ w_label_fileprinter_save_as.wdg_name = "label_fileprinter_save_as"
128
+ w_label_fileprinter_save_as.x = 4
129
+ w_label_fileprinter_save_as.y = 4
130
+ w_label_fileprinter_save_as.width = 99
131
+ w_label_fileprinter_save_as.height = 22
132
+ w_label_fileprinter_save_as.text = I18n.t("label_fileprinter_save_as_text", scope: "dialogbox_printerview", default: "Speichern unter")
133
+ }
134
+ FX::TextField.new(@matrix_file) { |w_textfield_file_save_as|
135
+ @textfield_file_save_as = w_textfield_file_save_as
136
+ w_textfield_file_save_as.wdg_name = "textfield_file_save_as"
137
+ w_textfield_file_save_as.layoutHints = 1025
138
+ w_textfield_file_save_as.x = 107
139
+ w_textfield_file_save_as.y = 4
140
+ w_textfield_file_save_as.width = 424
141
+ w_textfield_file_save_as.height = 24
142
+ w_textfield_file_save_as.numColumns = 10
143
+ w_textfield_file_save_as.tipText = I18n.t("textfield_file_save_as_tipText", scope: "dialogbox_printerview", default: "Speicherort der generierten Dateien\n%d - Nummer des Datensatzes\n%p - Seitennummer\n%i - Nummer der Karte im Druckjob")
144
+ }
145
+ FX::Button.new(@matrix_file) { |w_button_file_save_as|
146
+ @button_file_save_as = w_button_file_save_as
147
+ w_button_file_save_as.wdg_name = "button_file_save_as"
148
+ w_button_file_save_as.layoutHints = 1024
149
+ w_button_file_save_as.x = 535
150
+ w_button_file_save_as.y = 4
151
+ w_button_file_save_as.width = 23
152
+ w_button_file_save_as.height = 26
153
+ w_button_file_save_as.text = I18n.t("button_file_save_as_text", scope: "dialogbox_printerview", default: "...")
154
+ w_button_file_save_as.tipText = I18n.t("button_file_save_as_tipText", scope: "dialogbox_printerview", default: "Dateiauswahl")
155
+ }
156
+ FX::Label.new(@matrix_file) { |w_label_fileprinter_resolution|
157
+ @label_fileprinter_resolution = w_label_fileprinter_resolution
158
+ w_label_fileprinter_resolution.wdg_name = "label_fileprinter_resolution"
159
+ w_label_fileprinter_resolution.x = 4
160
+ w_label_fileprinter_resolution.y = 34
161
+ w_label_fileprinter_resolution.width = 65
162
+ w_label_fileprinter_resolution.height = 22
163
+ w_label_fileprinter_resolution.text = I18n.t("label_fileprinter_resolution_text", scope: "dialogbox_printerview", default: "Auflösung")
164
+ }
165
+ FX::Spinner.new(@matrix_file) { |w_spinner_file_dpi|
166
+ @spinner_file_dpi = w_spinner_file_dpi
167
+ w_spinner_file_dpi.wdg_name = "spinner_file_dpi"
168
+ w_spinner_file_dpi.layoutHints = 1
169
+ w_spinner_file_dpi.range = -2147483648..2147483647
170
+ w_spinner_file_dpi.x = 107
171
+ w_spinner_file_dpi.y = 34
172
+ w_spinner_file_dpi.width = 62
173
+ w_spinner_file_dpi.height = 24
174
+ w_spinner_file_dpi.numColumns = 6
175
+ w_spinner_file_dpi.value = 300
176
+ }
177
+ FX::Label.new(@matrix_file) { |w_label_fileprinter_dpi|
178
+ @label_fileprinter_dpi = w_label_fileprinter_dpi
179
+ w_label_fileprinter_dpi.wdg_name = "label_fileprinter_dpi"
180
+ w_label_fileprinter_dpi.x = 535
181
+ w_label_fileprinter_dpi.y = 34
182
+ w_label_fileprinter_dpi.width = 23
183
+ w_label_fileprinter_dpi.height = 22
184
+ w_label_fileprinter_dpi.text = I18n.t("label_fileprinter_dpi_text", scope: "dialogbox_printerview", default: "dpi")
185
+ }
186
+ }
187
+ }
188
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_linux_cups|
189
+ @tabitem_linux_cups = w_tabitem_linux_cups
190
+ w_tabitem_linux_cups.wdg_name = "tabitem_linux_cups"
191
+ w_tabitem_linux_cups.x = 131
192
+ w_tabitem_linux_cups.y = 6
193
+ w_tabitem_linux_cups.width = 77
194
+ w_tabitem_linux_cups.height = 26
195
+ w_tabitem_linux_cups.text = I18n.t("tabitem_linux_cups_text", scope: "dialogbox_printerview", default: "Linux-CUPS")
196
+ }
197
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe_linux_cups|
198
+ @verticalframe_linux_cups = w_verticalframe_linux_cups
199
+ w_verticalframe_linux_cups.wdg_name = "verticalframe_linux_cups"
200
+ w_verticalframe_linux_cups.shown = false
201
+ w_verticalframe_linux_cups.x = 4
202
+ w_verticalframe_linux_cups.y = 28
203
+ w_verticalframe_linux_cups.width = 562
204
+ w_verticalframe_linux_cups.height = 640
205
+ FX::Matrix.new(@verticalframe_linux_cups) { |w_matrix_linux_cups|
206
+ @matrix_linux_cups = w_matrix_linux_cups
207
+ w_matrix_linux_cups.wdg_name = "matrix_linux_cups"
208
+ w_matrix_linux_cups.matrixStyle = 131072
209
+ w_matrix_linux_cups.width = 562
210
+ w_matrix_linux_cups.height = 640
211
+ w_matrix_linux_cups.numColumns = 3
212
+ w_matrix_linux_cups.numRows = 2
213
+ FX::Label.new(@matrix_linux_cups) { |w_label_linux_cups_printer|
214
+ @label_linux_cups_printer = w_label_linux_cups_printer
215
+ w_label_linux_cups_printer.wdg_name = "label_linux_cups_printer"
216
+ w_label_linux_cups_printer.x = 4
217
+ w_label_linux_cups_printer.y = 4
218
+ w_label_linux_cups_printer.width = 51
219
+ w_label_linux_cups_printer.height = 22
220
+ w_label_linux_cups_printer.text = I18n.t("label_linux_cups_printer_text", scope: "dialogbox_printerview", default: "Drucker")
221
+ }
222
+ FX::ComboBox.new(@matrix_linux_cups) { |w_combobox_linux_printer|
223
+ @combobox_linux_printer = w_combobox_linux_printer
224
+ w_combobox_linux_printer.wdg_name = "combobox_linux_printer"
225
+ w_combobox_linux_printer.comboStyle = 1048576
226
+ w_combobox_linux_printer.layoutHints = 1025
227
+ w_combobox_linux_printer.x = 73
228
+ w_combobox_linux_printer.y = 4
229
+ w_combobox_linux_printer.width = 439
230
+ w_combobox_linux_printer.height = 24
231
+ w_combobox_linux_printer.numVisible = 10
232
+ }
233
+ FX::Label.new(@matrix_linux_cups) { |w_label_linux_printer_state|
234
+ @label_linux_printer_state = w_label_linux_printer_state
235
+ w_label_linux_printer_state.wdg_name = "label_linux_printer_state"
236
+ w_label_linux_printer_state.x = 516
237
+ w_label_linux_printer_state.y = 4
238
+ w_label_linux_printer_state.width = 42
239
+ w_label_linux_printer_state.height = 22
240
+ w_label_linux_printer_state.text = I18n.t("label_linux_printer_state_text", scope: "dialogbox_printerview", default: "Status")
241
+ }
242
+ FX::Label.new(@matrix_linux_cups) { |w_label_linux_cups_resolution|
243
+ @label_linux_cups_resolution = w_label_linux_cups_resolution
244
+ w_label_linux_cups_resolution.wdg_name = "label_linux_cups_resolution"
245
+ w_label_linux_cups_resolution.x = 4
246
+ w_label_linux_cups_resolution.y = 32
247
+ w_label_linux_cups_resolution.width = 65
248
+ w_label_linux_cups_resolution.height = 22
249
+ w_label_linux_cups_resolution.text = I18n.t("label_linux_cups_resolution_text", scope: "dialogbox_printerview", default: "Auflösung")
250
+ }
251
+ FX::Spinner.new(@matrix_linux_cups) { |w_spinner_linux_cups_dpi|
252
+ @spinner_linux_cups_dpi = w_spinner_linux_cups_dpi
253
+ w_spinner_linux_cups_dpi.wdg_name = "spinner_linux_cups_dpi"
254
+ w_spinner_linux_cups_dpi.layoutHints = 1
255
+ w_spinner_linux_cups_dpi.range = -2147483648..2147483647
256
+ w_spinner_linux_cups_dpi.x = 73
257
+ w_spinner_linux_cups_dpi.y = 32
258
+ w_spinner_linux_cups_dpi.width = 62
259
+ w_spinner_linux_cups_dpi.height = 24
260
+ w_spinner_linux_cups_dpi.numColumns = 6
261
+ w_spinner_linux_cups_dpi.value = 300
262
+ }
263
+ FX::Label.new(@matrix_linux_cups) { |w_label_linux_cups_dpi|
264
+ @label_linux_cups_dpi = w_label_linux_cups_dpi
265
+ w_label_linux_cups_dpi.wdg_name = "label_linux_cups_dpi"
266
+ w_label_linux_cups_dpi.x = 516
267
+ w_label_linux_cups_dpi.y = 32
268
+ w_label_linux_cups_dpi.width = 23
269
+ w_label_linux_cups_dpi.height = 22
270
+ w_label_linux_cups_dpi.text = I18n.t("label_linux_cups_dpi_text", scope: "dialogbox_printerview", default: "dpi")
271
+ }
272
+ }
273
+ }
274
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_zebra_printer|
275
+ @tabitem_zebra_printer = w_tabitem_zebra_printer
276
+ w_tabitem_zebra_printer.wdg_name = "tabitem_zebra_printer"
277
+ w_tabitem_zebra_printer.frameStyle = 28672
278
+ w_tabitem_zebra_printer.x = 208
279
+ w_tabitem_zebra_printer.y = 6
280
+ w_tabitem_zebra_printer.width = 42
281
+ w_tabitem_zebra_printer.height = 26
282
+ w_tabitem_zebra_printer.text = I18n.t("tabitem_zebra_printer_text", scope: "dialogbox_printerview", default: "Zebra")
283
+ }
284
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe21|
285
+ @verticalframe21 = w_verticalframe21
286
+ w_verticalframe21.wdg_name = "verticalframe21"
287
+ w_verticalframe21.frameStyle = 8192
288
+ w_verticalframe21.shown = false
289
+ w_verticalframe21.padTop = 5
290
+ w_verticalframe21.padLeft = 5
291
+ w_verticalframe21.padRight = 5
292
+ w_verticalframe21.padBottom = 5
293
+ w_verticalframe21.x = 4
294
+ w_verticalframe21.y = 28
295
+ w_verticalframe21.width = 562
296
+ w_verticalframe21.height = 640
297
+ FX::Matrix.new(@verticalframe21) { |w_matrix_zebra|
298
+ @matrix_zebra = w_matrix_zebra
299
+ w_matrix_zebra.wdg_name = "matrix_zebra"
300
+ w_matrix_zebra.matrixStyle = 131072
301
+ w_matrix_zebra.padLeft = 0
302
+ w_matrix_zebra.padRight = 0
303
+ w_matrix_zebra.x = 6
304
+ w_matrix_zebra.y = 6
305
+ w_matrix_zebra.width = 550
306
+ w_matrix_zebra.height = 68
307
+ w_matrix_zebra.numColumns = 3
308
+ FX::Label.new(@matrix_zebra) { |w_label_zebra_printer|
309
+ @label_zebra_printer = w_label_zebra_printer
310
+ w_label_zebra_printer.wdg_name = "label_zebra_printer"
311
+ w_label_zebra_printer.layoutHints = 32
312
+ w_label_zebra_printer.y = 6
313
+ w_label_zebra_printer.width = 51
314
+ w_label_zebra_printer.height = 22
315
+ w_label_zebra_printer.text = I18n.t("label_zebra_printer_text", scope: "dialogbox_printerview", default: "Drucker")
316
+ }
317
+ FX::ComboBox.new(@matrix_zebra) { |w_combobox_zebra_printer|
318
+ @combobox_zebra_printer = w_combobox_zebra_printer
319
+ w_combobox_zebra_printer.wdg_name = "combobox_zebra_printer"
320
+ w_combobox_zebra_printer.comboStyle = 1048576
321
+ w_combobox_zebra_printer.layoutHints = 1057
322
+ w_combobox_zebra_printer.x = 55
323
+ w_combobox_zebra_printer.y = 5
324
+ w_combobox_zebra_printer.width = 423
325
+ w_combobox_zebra_printer.height = 24
326
+ w_combobox_zebra_printer.baseColor = Fox::FXRGBA(226, 226, 226, 255)
327
+ w_combobox_zebra_printer.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
328
+ w_combobox_zebra_printer.selBackColor = Fox::FXRGBA(190, 190, 190, 255)
329
+ w_combobox_zebra_printer.selTextColor = Fox::FXRGBA(0, 0, 0, 255)
330
+ }
331
+ FX::Button.new(@matrix_zebra) { |w_button_zebra_printersetup|
332
+ @button_zebra_printersetup = w_button_zebra_printersetup
333
+ w_button_zebra_printersetup.wdg_name = "button_zebra_printersetup"
334
+ w_button_zebra_printersetup.layoutHints = 1056
335
+ w_button_zebra_printersetup.x = 482
336
+ w_button_zebra_printersetup.y = 4
337
+ w_button_zebra_printersetup.width = 68
338
+ w_button_zebra_printersetup.height = 26
339
+ w_button_zebra_printersetup.text = I18n.t("button_zebra_printersetup_text", scope: "dialogbox_printerview", default: "Einrichten")
340
+ w_button_zebra_printersetup.tipText = I18n.t("button_zebra_printersetup_tipText", scope: "dialogbox_printerview", default: "Dateiauswahl")
341
+ w_button_zebra_printersetup.backColor = Fox::FXRGBA(226, 226, 226, 255)
342
+ w_button_zebra_printersetup.baseColor = Fox::FXRGBA(226, 226, 226, 255)
343
+ w_button_zebra_printersetup.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
344
+ }
345
+ }
346
+ FX::HorizontalSeparator.new(@verticalframe21) { |w_horizontalseparator6|
347
+ @horizontalseparator6 = w_horizontalseparator6
348
+ w_horizontalseparator6.wdg_name = "horizontalseparator6"
349
+ w_horizontalseparator6.padTop = 10
350
+ w_horizontalseparator6.x = 6
351
+ w_horizontalseparator6.y = 74
352
+ w_horizontalseparator6.width = 550
353
+ w_horizontalseparator6.height = 12
354
+ }
355
+ FX::Label.new(@verticalframe21) { |w_label_zebra_commands|
356
+ @label_zebra_commands = w_label_zebra_commands
357
+ w_label_zebra_commands.wdg_name = "label_zebra_commands"
358
+ w_label_zebra_commands.font = FX::Font.new.from_s("Sans|90|100|0|0|0|0").to_FXFont
359
+ w_label_zebra_commands.padBottom = 10
360
+ w_label_zebra_commands.x = 6
361
+ w_label_zebra_commands.y = 86
362
+ w_label_zebra_commands.width = 95
363
+ w_label_zebra_commands.height = 30
364
+ w_label_zebra_commands.text = I18n.t("label_zebra_commands_text", scope: "dialogbox_printerview", default: "Druckerbefehle")
365
+ }
366
+ FX::VerticalFrame.new(@verticalframe21) { |w_verticalframe27|
367
+ @verticalframe27 = w_verticalframe27
368
+ w_verticalframe27.wdg_name = "verticalframe27"
369
+ w_verticalframe27.vSpacing = 5
370
+ w_verticalframe27.padBottom = 10
371
+ w_verticalframe27.x = 6
372
+ w_verticalframe27.y = 116
373
+ w_verticalframe27.width = 550
374
+ w_verticalframe27.height = 385
375
+ FX::Button.new(@verticalframe27) { |w_button_zebra_reset|
376
+ @button_zebra_reset = w_button_zebra_reset
377
+ w_button_zebra_reset.wdg_name = "button_zebra_reset"
378
+ w_button_zebra_reset.layoutHints = 1024
379
+ w_button_zebra_reset.width = 550
380
+ w_button_zebra_reset.height = 26
381
+ w_button_zebra_reset.text = I18n.t("button_zebra_reset_text", scope: "dialogbox_printerview", default: "Reset")
382
+ w_button_zebra_reset.tipText = I18n.t("button_zebra_reset_tipText", scope: "dialogbox_printerview", default: "Setzt den Drucker zurück.")
383
+ w_button_zebra_reset.backColor = Fox::FXRGBA(226, 226, 226, 255)
384
+ w_button_zebra_reset.baseColor = Fox::FXRGBA(226, 226, 226, 255)
385
+ w_button_zebra_reset.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
386
+ }
387
+ FX::Button.new(@verticalframe27) { |w_button_zebra_eject_card|
388
+ @button_zebra_eject_card = w_button_zebra_eject_card
389
+ w_button_zebra_eject_card.wdg_name = "button_zebra_eject_card"
390
+ w_button_zebra_eject_card.layoutHints = 1025
391
+ w_button_zebra_eject_card.y = 31
392
+ w_button_zebra_eject_card.width = 550
393
+ w_button_zebra_eject_card.height = 26
394
+ w_button_zebra_eject_card.text = I18n.t("button_zebra_eject_card_text", scope: "dialogbox_printerview", default: "Karte auswerfen")
395
+ w_button_zebra_eject_card.tipText = I18n.t("button_zebra_eject_card_tipText", scope: "dialogbox_printerview", default: "Wirft die Karte aus dem Drucker aus (z.B. wenn eine Karte im Drucker hängt).")
396
+ w_button_zebra_eject_card.backColor = Fox::FXRGBA(226, 226, 226, 255)
397
+ w_button_zebra_eject_card.baseColor = Fox::FXRGBA(226, 226, 226, 255)
398
+ w_button_zebra_eject_card.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
399
+ }
400
+ FX::Button.new(@verticalframe27) { |w_button_zebra_eject_card2|
401
+ @button_zebra_eject_card2 = w_button_zebra_eject_card2
402
+ w_button_zebra_eject_card2.wdg_name = "button_zebra_eject_card2"
403
+ w_button_zebra_eject_card2.layoutHints = 1025
404
+ w_button_zebra_eject_card2.y = 62
405
+ w_button_zebra_eject_card2.width = 550
406
+ w_button_zebra_eject_card2.height = 26
407
+ w_button_zebra_eject_card2.text = I18n.t("button_zebra_eject_card2_text", scope: "dialogbox_printerview", default: "Karte auswerfen 2")
408
+ w_button_zebra_eject_card2.tipText = I18n.t("button_zebra_eject_card2_tipText", scope: "dialogbox_printerview", default: "Wirft die Karte aus dem Drucker aus (z.B. wenn eine Karte im Drucker hängt). Wirft auch Karten aus, die in der Kartenzufuhr sind.")
409
+ w_button_zebra_eject_card2.backColor = Fox::FXRGBA(226, 226, 226, 255)
410
+ w_button_zebra_eject_card2.baseColor = Fox::FXRGBA(226, 226, 226, 255)
411
+ w_button_zebra_eject_card2.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
412
+ }
413
+ FX::Button.new(@verticalframe27) { |w_button_zebra_move_contactless|
414
+ @button_zebra_move_contactless = w_button_zebra_move_contactless
415
+ w_button_zebra_move_contactless.wdg_name = "button_zebra_move_contactless"
416
+ w_button_zebra_move_contactless.layoutHints = 1024
417
+ w_button_zebra_move_contactless.y = 93
418
+ w_button_zebra_move_contactless.width = 550
419
+ w_button_zebra_move_contactless.height = 26
420
+ w_button_zebra_move_contactless.text = I18n.t("button_zebra_move_contactless_text", scope: "dialogbox_printerview", default: "Kontaktlos")
421
+ w_button_zebra_move_contactless.tipText = I18n.t("button_zebra_move_contactless_tipText", scope: "dialogbox_printerview", default: "Fährt die Karte an die Position des kontaktlosen Lesers.")
422
+ w_button_zebra_move_contactless.backColor = Fox::FXRGBA(226, 226, 226, 255)
423
+ w_button_zebra_move_contactless.baseColor = Fox::FXRGBA(226, 226, 226, 255)
424
+ w_button_zebra_move_contactless.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
425
+ }
426
+ FX::Button.new(@verticalframe27) { |w_button_zebra_print_testcard|
427
+ @button_zebra_print_testcard = w_button_zebra_print_testcard
428
+ w_button_zebra_print_testcard.wdg_name = "button_zebra_print_testcard"
429
+ w_button_zebra_print_testcard.layoutHints = 1024
430
+ w_button_zebra_print_testcard.y = 124
431
+ w_button_zebra_print_testcard.width = 550
432
+ w_button_zebra_print_testcard.height = 26
433
+ w_button_zebra_print_testcard.text = I18n.t("button_zebra_print_testcard_text", scope: "dialogbox_printerview", default: "Testkarte drucken")
434
+ w_button_zebra_print_testcard.tipText = I18n.t("button_zebra_print_testcard_tipText", scope: "dialogbox_printerview", default: "Druckt eine Testkarte.")
435
+ w_button_zebra_print_testcard.backColor = Fox::FXRGBA(226, 226, 226, 255)
436
+ w_button_zebra_print_testcard.baseColor = Fox::FXRGBA(226, 226, 226, 255)
437
+ w_button_zebra_print_testcard.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
438
+ }
439
+ FX::Button.new(@verticalframe27) { |w_button_zebra_printer_info|
440
+ @button_zebra_printer_info = w_button_zebra_printer_info
441
+ w_button_zebra_printer_info.wdg_name = "button_zebra_printer_info"
442
+ w_button_zebra_printer_info.layoutHints = 1024
443
+ w_button_zebra_printer_info.y = 155
444
+ w_button_zebra_printer_info.width = 550
445
+ w_button_zebra_printer_info.height = 26
446
+ w_button_zebra_printer_info.text = I18n.t("button_zebra_printer_info_text", scope: "dialogbox_printerview", default: "Druckerinfo")
447
+ w_button_zebra_printer_info.tipText = I18n.t("button_zebra_printer_info_tipText", scope: "dialogbox_printerview", default: "Zeigt den Druckertyp und die Firmwareversion an.")
448
+ w_button_zebra_printer_info.backColor = Fox::FXRGBA(226, 226, 226, 255)
449
+ w_button_zebra_printer_info.baseColor = Fox::FXRGBA(226, 226, 226, 255)
450
+ w_button_zebra_printer_info.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
451
+ }
452
+ }
453
+ FX::Matrix.new(@verticalframe21) { |w_matrix22|
454
+ @matrix22 = w_matrix22
455
+ w_matrix22.wdg_name = "matrix22"
456
+ w_matrix22.padLeft = 0
457
+ w_matrix22.padRight = 0
458
+ w_matrix22.x = 6
459
+ w_matrix22.y = 501
460
+ w_matrix22.width = 550
461
+ w_matrix22.height = 68
462
+ w_matrix22.numColumns = 3
463
+ FX::Label.new(@matrix22) { |w_label_zebra_command|
464
+ @label_zebra_command = w_label_zebra_command
465
+ w_label_zebra_command.wdg_name = "label_zebra_command"
466
+ w_label_zebra_command.layoutHints = 32
467
+ w_label_zebra_command.y = 6
468
+ w_label_zebra_command.width = 75
469
+ w_label_zebra_command.height = 22
470
+ w_label_zebra_command.text = I18n.t("label_zebra_command_text", scope: "dialogbox_printerview", default: "Kommando")
471
+ }
472
+ FX::TextField.new(@matrix22) { |w_textfield_zebra_command|
473
+ @textfield_zebra_command = w_textfield_zebra_command
474
+ w_textfield_zebra_command.wdg_name = "textfield_zebra_command"
475
+ w_textfield_zebra_command.layoutHints = 1057
476
+ w_textfield_zebra_command.x = 79
477
+ w_textfield_zebra_command.y = 5
478
+ w_textfield_zebra_command.width = 414
479
+ w_textfield_zebra_command.height = 24
480
+ w_textfield_zebra_command.numColumns = 10
481
+ w_textfield_zebra_command.baseColor = Fox::FXRGBA(226, 226, 226, 255)
482
+ w_textfield_zebra_command.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
483
+ w_textfield_zebra_command.selBackColor = Fox::FXRGBA(190, 190, 190, 255)
484
+ w_textfield_zebra_command.selTextColor = Fox::FXRGBA(0, 0, 0, 255)
485
+ }
486
+ FX::Button.new(@matrix22) { |w_button_zebra_send|
487
+ @button_zebra_send = w_button_zebra_send
488
+ w_button_zebra_send.wdg_name = "button_zebra_send"
489
+ w_button_zebra_send.layoutHints = 32
490
+ w_button_zebra_send.x = 497
491
+ w_button_zebra_send.y = 4
492
+ w_button_zebra_send.width = 53
493
+ w_button_zebra_send.height = 26
494
+ w_button_zebra_send.text = I18n.t("button_zebra_send_text", scope: "dialogbox_printerview", default: "Senden")
495
+ w_button_zebra_send.backColor = Fox::FXRGBA(226, 226, 226, 255)
496
+ w_button_zebra_send.baseColor = Fox::FXRGBA(226, 226, 226, 255)
497
+ w_button_zebra_send.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
498
+ }
499
+ }
500
+ FX::Matrix.new(@verticalframe21) { |w_matrix21|
501
+ @matrix21 = w_matrix21
502
+ w_matrix21.wdg_name = "matrix21"
503
+ w_matrix21.padLeft = 0
504
+ w_matrix21.padRight = 0
505
+ w_matrix21.x = 6
506
+ w_matrix21.y = 569
507
+ w_matrix21.width = 550
508
+ w_matrix21.height = 65
509
+ w_matrix21.numColumns = 2
510
+ FX::Label.new(@matrix21) { |w_label_zebra_answer|
511
+ @label_zebra_answer = w_label_zebra_answer
512
+ w_label_zebra_answer.wdg_name = "label_zebra_answer"
513
+ w_label_zebra_answer.y = 4
514
+ w_label_zebra_answer.width = 53
515
+ w_label_zebra_answer.height = 22
516
+ w_label_zebra_answer.text = I18n.t("label_zebra_answer_text", scope: "dialogbox_printerview", default: "Antwort")
517
+ }
518
+ FX::TextField.new(@matrix21) { |w_textfield_zebra_answer|
519
+ @textfield_zebra_answer = w_textfield_zebra_answer
520
+ w_textfield_zebra_answer.wdg_name = "textfield_zebra_answer"
521
+ w_textfield_zebra_answer.layoutHints = 3105
522
+ w_textfield_zebra_answer.textFieldTextStyle = 4194304
523
+ w_textfield_zebra_answer.enabled = false
524
+ w_textfield_zebra_answer.x = 57
525
+ w_textfield_zebra_answer.y = 4
526
+ w_textfield_zebra_answer.width = 493
527
+ w_textfield_zebra_answer.height = 24
528
+ w_textfield_zebra_answer.numColumns = 50
529
+ w_textfield_zebra_answer.baseColor = Fox::FXRGBA(226, 226, 226, 255)
530
+ w_textfield_zebra_answer.shadowColor = Fox::FXRGBA(180, 180, 180, 255)
531
+ w_textfield_zebra_answer.selBackColor = Fox::FXRGBA(190, 190, 190, 255)
532
+ w_textfield_zebra_answer.selTextColor = Fox::FXRGBA(0, 0, 0, 255)
533
+ }
534
+ }
535
+ }
536
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_cab_printer|
537
+ @tabitem_cab_printer = w_tabitem_cab_printer
538
+ w_tabitem_cab_printer.wdg_name = "tabitem_cab_printer"
539
+ w_tabitem_cab_printer.x = 250
540
+ w_tabitem_cab_printer.y = 6
541
+ w_tabitem_cab_printer.width = 29
542
+ w_tabitem_cab_printer.height = 26
543
+ w_tabitem_cab_printer.text = I18n.t("tabitem_cab_printer_text", scope: "dialogbox_printerview", default: "cab")
544
+ }
545
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe40|
546
+ @verticalframe40 = w_verticalframe40
547
+ w_verticalframe40.wdg_name = "verticalframe40"
548
+ w_verticalframe40.shown = false
549
+ w_verticalframe40.x = 4
550
+ w_verticalframe40.y = 28
551
+ w_verticalframe40.width = 562
552
+ w_verticalframe40.height = 640
553
+ FX::Matrix.new(@verticalframe40) { |w_matrix_connection|
554
+ @matrix_connection = w_matrix_connection
555
+ w_matrix_connection.wdg_name = "matrix_connection"
556
+ w_matrix_connection.layoutHints = 1024
557
+ w_matrix_connection.width = 562
558
+ w_matrix_connection.height = 32
559
+ w_matrix_connection.numColumns = 6
560
+ FX::Label.new(@matrix_connection) { |w_label_cab_host|
561
+ @label_cab_host = w_label_cab_host
562
+ w_label_cab_host.wdg_name = "label_cab_host"
563
+ w_label_cab_host.x = 4
564
+ w_label_cab_host.y = 4
565
+ w_label_cab_host.width = 32
566
+ w_label_cab_host.height = 22
567
+ w_label_cab_host.text = I18n.t("label_cab_host_text", scope: "dialogbox_printerview", default: "Host")
568
+ }
569
+ FX::TextField.new(@matrix_connection) { |w_textfield_cab_host|
570
+ @textfield_cab_host = w_textfield_cab_host
571
+ w_textfield_cab_host.wdg_name = "textfield_cab_host"
572
+ w_textfield_cab_host.layoutHints = 1025
573
+ w_textfield_cab_host.x = 40
574
+ w_textfield_cab_host.y = 4
575
+ w_textfield_cab_host.width = 172
576
+ w_textfield_cab_host.height = 24
577
+ w_textfield_cab_host.numColumns = 10
578
+ }
579
+ FX::Label.new(@matrix_connection) { |w_label_cab_port|
580
+ @label_cab_port = w_label_cab_port
581
+ w_label_cab_port.wdg_name = "label_cab_port"
582
+ w_label_cab_port.x = 216
583
+ w_label_cab_port.y = 4
584
+ w_label_cab_port.width = 30
585
+ w_label_cab_port.height = 22
586
+ w_label_cab_port.text = I18n.t("label_cab_port_text", scope: "dialogbox_printerview", default: "Port")
587
+ }
588
+ FX::Spinner.new(@matrix_connection) { |w_spinner_cab_port|
589
+ @spinner_cab_port = w_spinner_cab_port
590
+ w_spinner_cab_port.wdg_name = "spinner_cab_port"
591
+ w_spinner_cab_port.layoutHints = 1025
592
+ w_spinner_cab_port.range = -2147483648..2147483647
593
+ w_spinner_cab_port.x = 250
594
+ w_spinner_cab_port.y = 4
595
+ w_spinner_cab_port.width = 94
596
+ w_spinner_cab_port.height = 24
597
+ w_spinner_cab_port.numColumns = 3
598
+ }
599
+ FX::Label.new(@matrix_connection) { |w_label_cab_resolution|
600
+ @label_cab_resolution = w_label_cab_resolution
601
+ w_label_cab_resolution.wdg_name = "label_cab_resolution"
602
+ w_label_cab_resolution.x = 348
603
+ w_label_cab_resolution.y = 4
604
+ w_label_cab_resolution.width = 65
605
+ w_label_cab_resolution.height = 22
606
+ w_label_cab_resolution.text = I18n.t("label_cab_resolution_text", scope: "dialogbox_printerview", default: "Auflösung")
607
+ }
608
+ FX::Spinner.new(@matrix_connection) { |w_spinner_cab_dpi|
609
+ @spinner_cab_dpi = w_spinner_cab_dpi
610
+ w_spinner_cab_dpi.wdg_name = "spinner_cab_dpi"
611
+ w_spinner_cab_dpi.layoutHints = 1025
612
+ w_spinner_cab_dpi.range = -2147483648..2147483647
613
+ w_spinner_cab_dpi.x = 417
614
+ w_spinner_cab_dpi.y = 4
615
+ w_spinner_cab_dpi.width = 141
616
+ w_spinner_cab_dpi.height = 24
617
+ w_spinner_cab_dpi.numColumns = 6
618
+ w_spinner_cab_dpi.value = 300
619
+ }
620
+ }
621
+ FX::HorizontalFrame.new(@verticalframe40) { |w_horizontalframe1|
622
+ @horizontalframe1 = w_horizontalframe1
623
+ w_horizontalframe1.wdg_name = "horizontalframe1"
624
+ w_horizontalframe1.frameStyle = 16384
625
+ w_horizontalframe1.layoutHints = 1024
626
+ w_horizontalframe1.padTop = 10
627
+ w_horizontalframe1.padLeft = 3
628
+ w_horizontalframe1.padRight = 3
629
+ w_horizontalframe1.padBottom = 10
630
+ w_horizontalframe1.y = 32
631
+ w_horizontalframe1.width = 562
632
+ w_horizontalframe1.height = 174
633
+ FX::VerticalFrame.new(@horizontalframe1) { |w_verticalframe41|
634
+ @verticalframe41 = w_verticalframe41
635
+ w_verticalframe41.wdg_name = "verticalframe41"
636
+ w_verticalframe41.vSpacing = 5
637
+ w_verticalframe41.x = 5
638
+ w_verticalframe41.y = 12
639
+ w_verticalframe41.width = 414
640
+ w_verticalframe41.height = 150
641
+ FX::Button.new(@verticalframe41) { |w_button_cab_info|
642
+ @button_cab_info = w_button_cab_info
643
+ w_button_cab_info.wdg_name = "button_cab_info"
644
+ w_button_cab_info.layoutHints = 1024
645
+ w_button_cab_info.width = 414
646
+ w_button_cab_info.height = 26
647
+ w_button_cab_info.text = I18n.t("button_cab_info_text", scope: "dialogbox_printerview", default: "Printer Status Abfrage")
648
+ }
649
+ FX::Button.new(@verticalframe41) { |w_button_cab_extended_info|
650
+ @button_cab_extended_info = w_button_cab_extended_info
651
+ w_button_cab_extended_info.wdg_name = "button_cab_extended_info"
652
+ w_button_cab_extended_info.layoutHints = 1024
653
+ w_button_cab_extended_info.y = 31
654
+ w_button_cab_extended_info.width = 414
655
+ w_button_cab_extended_info.height = 26
656
+ w_button_cab_extended_info.text = I18n.t("button_cab_extended_info_text", scope: "dialogbox_printerview", default: "Extended Status Abfrage")
657
+ }
658
+ FX::Button.new(@verticalframe41) { |w_button_cab_firmware_version|
659
+ @button_cab_firmware_version = w_button_cab_firmware_version
660
+ w_button_cab_firmware_version.wdg_name = "button_cab_firmware_version"
661
+ w_button_cab_firmware_version.layoutHints = 1024
662
+ w_button_cab_firmware_version.y = 62
663
+ w_button_cab_firmware_version.width = 414
664
+ w_button_cab_firmware_version.height = 26
665
+ w_button_cab_firmware_version.text = I18n.t("button_cab_firmware_version_text", scope: "dialogbox_printerview", default: "Firmware-Version")
666
+ }
667
+ FX::Button.new(@verticalframe41) { |w_button_cab_self_test|
668
+ @button_cab_self_test = w_button_cab_self_test
669
+ w_button_cab_self_test.wdg_name = "button_cab_self_test"
670
+ w_button_cab_self_test.layoutHints = 1024
671
+ w_button_cab_self_test.y = 93
672
+ w_button_cab_self_test.width = 414
673
+ w_button_cab_self_test.height = 26
674
+ w_button_cab_self_test.text = I18n.t("button_cab_self_test_text", scope: "dialogbox_printerview", default: "Start Self Test")
675
+ }
676
+ FX::Button.new(@verticalframe41) { |w_button_cab_cancel_jobs|
677
+ @button_cab_cancel_jobs = w_button_cab_cancel_jobs
678
+ w_button_cab_cancel_jobs.wdg_name = "button_cab_cancel_jobs"
679
+ w_button_cab_cancel_jobs.layoutHints = 1024
680
+ w_button_cab_cancel_jobs.y = 124
681
+ w_button_cab_cancel_jobs.width = 414
682
+ w_button_cab_cancel_jobs.height = 26
683
+ w_button_cab_cancel_jobs.text = I18n.t("button_cab_cancel_jobs_text", scope: "dialogbox_printerview", default: "Drucker zurücksetzen")
684
+ }
685
+ }
686
+ FX::Text.new(@horizontalframe1) { |w_text_cab_output|
687
+ @text_cab_output = w_text_cab_output
688
+ w_text_cab_output.wdg_name = "text_cab_output"
689
+ w_text_cab_output.x = 419
690
+ w_text_cab_output.y = 12
691
+ w_text_cab_output.width = 138
692
+ w_text_cab_output.height = 150
693
+ }
694
+ }
695
+ FX::Label.new(@verticalframe40) { |w_label_cab_page_commands|
696
+ @label_cab_page_commands = w_label_cab_page_commands
697
+ w_label_cab_page_commands.wdg_name = "label_cab_page_commands"
698
+ w_label_cab_page_commands.padTop = 10
699
+ w_label_cab_page_commands.y = 206
700
+ w_label_cab_page_commands.width = 587
701
+ w_label_cab_page_commands.height = 30
702
+ w_label_cab_page_commands.text = I18n.t("label_cab_page_commands_text", scope: "dialogbox_printerview", default: "Druckbefehle pro Ausgabeseite (siehe \"Programming Manual\" von cab Produktionstechnik GmbH)")
703
+ }
704
+ FX::Packer.new(@verticalframe40) { |w_packer3|
705
+ @packer3 = w_packer3
706
+ w_packer3.wdg_name = "packer3"
707
+ w_packer3.frameStyle = 16384
708
+ w_packer3.y = 236
709
+ w_packer3.width = 562
710
+ w_packer3.height = 404
711
+ FX::Text.new(@packer3) { |w_text_cab_page_commands|
712
+ @text_cab_page_commands = w_text_cab_page_commands
713
+ w_text_cab_page_commands.wdg_name = "text_cab_page_commands"
714
+ w_text_cab_page_commands.x = 6
715
+ w_text_cab_page_commands.y = 2
716
+ w_text_cab_page_commands.width = 550
717
+ w_text_cab_page_commands.height = 400
718
+ }
719
+ }
720
+ }
721
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_epl|
722
+ @tabitem_epl = w_tabitem_epl
723
+ w_tabitem_epl.wdg_name = "tabitem_epl"
724
+ w_tabitem_epl.x = 279
725
+ w_tabitem_epl.y = 6
726
+ w_tabitem_epl.width = 30
727
+ w_tabitem_epl.height = 26
728
+ w_tabitem_epl.text = I18n.t("tabitem_epl_text", scope: "dialogbox_printerview", default: "EPL")
729
+ }
730
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe50|
731
+ @verticalframe50 = w_verticalframe50
732
+ w_verticalframe50.wdg_name = "verticalframe50"
733
+ w_verticalframe50.shown = false
734
+ w_verticalframe50.x = 4
735
+ w_verticalframe50.y = 28
736
+ w_verticalframe50.width = 562
737
+ w_verticalframe50.height = 640
738
+ FX::Matrix.new(@verticalframe50) { |w_matrix37|
739
+ @matrix37 = w_matrix37
740
+ w_matrix37.wdg_name = "matrix37"
741
+ w_matrix37.layoutHints = 1024
742
+ w_matrix37.width = 562
743
+ w_matrix37.height = 32
744
+ w_matrix37.numColumns = 4
745
+ FX::Label.new(@matrix37) { |w_label_epl_device|
746
+ @label_epl_device = w_label_epl_device
747
+ w_label_epl_device.wdg_name = "label_epl_device"
748
+ w_label_epl_device.x = 4
749
+ w_label_epl_device.y = 4
750
+ w_label_epl_device.width = 77
751
+ w_label_epl_device.height = 22
752
+ w_label_epl_device.text = I18n.t("label_epl_device_text", scope: "dialogbox_printerview", default: "Device-Datei")
753
+ }
754
+ FX::TextField.new(@matrix37) { |w_textfield_epl_device|
755
+ @textfield_epl_device = w_textfield_epl_device
756
+ w_textfield_epl_device.wdg_name = "textfield_epl_device"
757
+ w_textfield_epl_device.layoutHints = 1025
758
+ w_textfield_epl_device.x = 85
759
+ w_textfield_epl_device.y = 4
760
+ w_textfield_epl_device.width = 220
761
+ w_textfield_epl_device.height = 24
762
+ w_textfield_epl_device.numColumns = 10
763
+ }
764
+ FX::Label.new(@matrix37) { |w_label_epl_resolution|
765
+ @label_epl_resolution = w_label_epl_resolution
766
+ w_label_epl_resolution.wdg_name = "label_epl_resolution"
767
+ w_label_epl_resolution.x = 309
768
+ w_label_epl_resolution.y = 4
769
+ w_label_epl_resolution.width = 65
770
+ w_label_epl_resolution.height = 22
771
+ w_label_epl_resolution.text = I18n.t("label_epl_resolution_text", scope: "dialogbox_printerview", default: "Auflösung")
772
+ }
773
+ FX::Spinner.new(@matrix37) { |w_spinner_epl_dpi|
774
+ @spinner_epl_dpi = w_spinner_epl_dpi
775
+ w_spinner_epl_dpi.wdg_name = "spinner_epl_dpi"
776
+ w_spinner_epl_dpi.layoutHints = 1025
777
+ w_spinner_epl_dpi.range = -2147483648..2147483647
778
+ w_spinner_epl_dpi.x = 378
779
+ w_spinner_epl_dpi.y = 4
780
+ w_spinner_epl_dpi.width = 180
781
+ w_spinner_epl_dpi.height = 24
782
+ w_spinner_epl_dpi.numColumns = 6
783
+ w_spinner_epl_dpi.value = 300
784
+ }
785
+ }
786
+ FX::Label.new(@verticalframe50) { |w_label_epl_page_commands|
787
+ @label_epl_page_commands = w_label_epl_page_commands
788
+ w_label_epl_page_commands.wdg_name = "label_epl_page_commands"
789
+ w_label_epl_page_commands.padTop = 10
790
+ w_label_epl_page_commands.y = 32
791
+ w_label_epl_page_commands.width = 190
792
+ w_label_epl_page_commands.height = 30
793
+ w_label_epl_page_commands.text = I18n.t("label_epl_page_commands_text", scope: "dialogbox_printerview", default: "Druckbefehle pro Ausgabeseite")
794
+ }
795
+ FX::Packer.new(@verticalframe50) { |w_packer5|
796
+ @packer5 = w_packer5
797
+ w_packer5.wdg_name = "packer5"
798
+ w_packer5.frameStyle = 16384
799
+ w_packer5.y = 62
800
+ w_packer5.width = 562
801
+ w_packer5.height = 578
802
+ FX::Text.new(@packer5) { |w_text_epl_page_commands|
803
+ @text_epl_page_commands = w_text_epl_page_commands
804
+ w_text_epl_page_commands.wdg_name = "text_epl_page_commands"
805
+ w_text_epl_page_commands.x = 6
806
+ w_text_epl_page_commands.y = 2
807
+ w_text_epl_page_commands.width = 550
808
+ w_text_epl_page_commands.height = 574
809
+ }
810
+ }
811
+ }
812
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_cx320|
813
+ @tabitem_cx320 = w_tabitem_cx320
814
+ w_tabitem_cx320.wdg_name = "tabitem_cx320"
815
+ w_tabitem_cx320.x = 309
816
+ w_tabitem_cx320.y = 6
817
+ w_tabitem_cx320.width = 44
818
+ w_tabitem_cx320.height = 26
819
+ w_tabitem_cx320.text = I18n.t("tabitem_cx320_text", scope: "dialogbox_printerview", default: "CX320")
820
+ }
821
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe60|
822
+ @verticalframe60 = w_verticalframe60
823
+ w_verticalframe60.wdg_name = "verticalframe60"
824
+ w_verticalframe60.shown = false
825
+ w_verticalframe60.x = 4
826
+ w_verticalframe60.y = 28
827
+ w_verticalframe60.width = 562
828
+ w_verticalframe60.height = 640
829
+ FX::Matrix.new(@verticalframe60) { |w_matrix_cx320_settings|
830
+ @matrix_cx320_settings = w_matrix_cx320_settings
831
+ w_matrix_cx320_settings.wdg_name = "matrix_cx320_settings"
832
+ w_matrix_cx320_settings.layoutHints = 1024
833
+ w_matrix_cx320_settings.matrixStyle = 131072
834
+ w_matrix_cx320_settings.width = 562
835
+ w_matrix_cx320_settings.height = 60
836
+ w_matrix_cx320_settings.numColumns = 4
837
+ w_matrix_cx320_settings.numRows = 2
838
+ FX::Label.new(@matrix_cx320_settings) { |w_label_cx320_driver|
839
+ @label_cx320_driver = w_label_cx320_driver
840
+ w_label_cx320_driver.wdg_name = "label_cx320_driver"
841
+ w_label_cx320_driver.x = 4
842
+ w_label_cx320_driver.y = 4
843
+ w_label_cx320_driver.width = 46
844
+ w_label_cx320_driver.height = 22
845
+ w_label_cx320_driver.text = I18n.t("label_cx320_driver_text", scope: "dialogbox_printerview", default: "Treiber")
846
+ }
847
+ FX::ComboBox.new(@matrix_cx320_settings) { |w_combobox_cx320_driver|
848
+ @combobox_cx320_driver = w_combobox_cx320_driver
849
+ w_combobox_cx320_driver.wdg_name = "combobox_cx320_driver"
850
+ w_combobox_cx320_driver.x = 105
851
+ w_combobox_cx320_driver.y = 4
852
+ w_combobox_cx320_driver.width = 91
853
+ w_combobox_cx320_driver.height = 24
854
+ w_combobox_cx320_driver.numColumns = 10
855
+ }
856
+ FX::Label.new(@matrix_cx320_settings) { |w_label_cx320_printer_nr|
857
+ @label_cx320_printer_nr = w_label_cx320_printer_nr
858
+ w_label_cx320_printer_nr.wdg_name = "label_cx320_printer_nr"
859
+ w_label_cx320_printer_nr.x = 200
860
+ w_label_cx320_printer_nr.y = 4
861
+ w_label_cx320_printer_nr.width = 70
862
+ w_label_cx320_printer_nr.height = 22
863
+ w_label_cx320_printer_nr.text = I18n.t("label_cx320_printer_nr_text", scope: "dialogbox_printerview", default: "Drucker-Nr")
864
+ }
865
+ FX::Spinner.new(@matrix_cx320_settings) { |w_spinner_cx320_printer_nr|
866
+ @spinner_cx320_printer_nr = w_spinner_cx320_printer_nr
867
+ w_spinner_cx320_printer_nr.wdg_name = "spinner_cx320_printer_nr"
868
+ w_spinner_cx320_printer_nr.range = -2147483648..2147483647
869
+ w_spinner_cx320_printer_nr.x = 274
870
+ w_spinner_cx320_printer_nr.y = 4
871
+ w_spinner_cx320_printer_nr.width = 41
872
+ w_spinner_cx320_printer_nr.height = 24
873
+ w_spinner_cx320_printer_nr.numColumns = 3
874
+ }
875
+ FX::Label.new(@matrix_cx320_settings) { |w_label_cx320_parallel_print|
876
+ @label_cx320_parallel_print = w_label_cx320_parallel_print
877
+ w_label_cx320_parallel_print.wdg_name = "label_cx320_parallel_print"
878
+ w_label_cx320_parallel_print.x = 4
879
+ w_label_cx320_parallel_print.y = 32
880
+ w_label_cx320_parallel_print.width = 97
881
+ w_label_cx320_parallel_print.height = 22
882
+ w_label_cx320_parallel_print.text = I18n.t("label_cx320_parallel_print_text", scope: "dialogbox_printerview", default: "Paralleler Druck")
883
+ }
884
+ FX::ComboBox.new(@matrix_cx320_settings) { |w_combobox_cx320_parallel_print|
885
+ @combobox_cx320_parallel_print = w_combobox_cx320_parallel_print
886
+ w_combobox_cx320_parallel_print.wdg_name = "combobox_cx320_parallel_print"
887
+ w_combobox_cx320_parallel_print.x = 105
888
+ w_combobox_cx320_parallel_print.y = 32
889
+ w_combobox_cx320_parallel_print.width = 91
890
+ w_combobox_cx320_parallel_print.height = 24
891
+ w_combobox_cx320_parallel_print.numVisible = 15
892
+ w_combobox_cx320_parallel_print.numColumns = 10
893
+ }
894
+ }
895
+ FX::Matrix.new(@verticalframe60) { |w_matrix49|
896
+ @matrix49 = w_matrix49
897
+ w_matrix49.wdg_name = "matrix49"
898
+ w_matrix49.layoutHints = 1024
899
+ w_matrix49.y = 60
900
+ w_matrix49.width = 562
901
+ w_matrix49.height = 34
902
+ w_matrix49.numColumns = 3
903
+ FX::Button.new(@matrix49) { |w_button_cx320_read_config|
904
+ @button_cx320_read_config = w_button_cx320_read_config
905
+ w_button_cx320_read_config.wdg_name = "button_cx320_read_config"
906
+ w_button_cx320_read_config.x = 4
907
+ w_button_cx320_read_config.y = 4
908
+ w_button_cx320_read_config.width = 102
909
+ w_button_cx320_read_config.height = 26
910
+ w_button_cx320_read_config.text = I18n.t("button_cx320_read_config_text", scope: "dialogbox_printerview", default: "Konfig auslesen")
911
+ }
912
+ FX::Button.new(@matrix49) { |w_button_cx320_write_config|
913
+ @button_cx320_write_config = w_button_cx320_write_config
914
+ w_button_cx320_write_config.wdg_name = "button_cx320_write_config"
915
+ w_button_cx320_write_config.x = 110
916
+ w_button_cx320_write_config.y = 4
917
+ w_button_cx320_write_config.width = 108
918
+ w_button_cx320_write_config.height = 26
919
+ w_button_cx320_write_config.text = I18n.t("button_cx320_write_config_text", scope: "dialogbox_printerview", default: "Konfig schreiben")
920
+ }
921
+ FX::Button.new(@matrix49) { |w_button_cx320_set_defaults|
922
+ @button_cx320_set_defaults = w_button_cx320_set_defaults
923
+ w_button_cx320_set_defaults.wdg_name = "button_cx320_set_defaults"
924
+ w_button_cx320_set_defaults.x = 222
925
+ w_button_cx320_set_defaults.y = 4
926
+ w_button_cx320_set_defaults.width = 97
927
+ w_button_cx320_set_defaults.height = 26
928
+ w_button_cx320_set_defaults.text = I18n.t("button_cx320_set_defaults_text", scope: "dialogbox_printerview", default: "Standardwerte")
929
+ }
930
+ }
931
+ FX::ScrollWindow.new(@verticalframe60) { |w_scrollwindow_config|
932
+ @scrollwindow_config = w_scrollwindow_config
933
+ w_scrollwindow_config.wdg_name = "scrollwindow_config"
934
+ w_scrollwindow_config.y = 94
935
+ w_scrollwindow_config.width = 562
936
+ w_scrollwindow_config.height = 512
937
+ FX::Packer.new(@scrollwindow_config) { |w_packer_cx320_config|
938
+ @packer_cx320_config = w_packer_cx320_config
939
+ w_packer_cx320_config.wdg_name = "packer_cx320_config"
940
+ w_packer_cx320_config.width = 562
941
+ w_packer_cx320_config.height = 512
942
+ }
943
+ }
944
+ FX::Matrix.new(@verticalframe60) { |w_matrix47|
945
+ @matrix47 = w_matrix47
946
+ w_matrix47.wdg_name = "matrix47"
947
+ w_matrix47.layoutHints = 1024
948
+ w_matrix47.y = 606
949
+ w_matrix47.width = 562
950
+ w_matrix47.height = 34
951
+ w_matrix47.numColumns = 4
952
+ FX::Button.new(@matrix47) { |w_button_cx320_reset|
953
+ @button_cx320_reset = w_button_cx320_reset
954
+ w_button_cx320_reset.wdg_name = "button_cx320_reset"
955
+ w_button_cx320_reset.x = 4
956
+ w_button_cx320_reset.y = 4
957
+ w_button_cx320_reset.width = 41
958
+ w_button_cx320_reset.height = 26
959
+ w_button_cx320_reset.text = I18n.t("button_cx320_reset_text", scope: "dialogbox_printerview", default: "Reset")
960
+ }
961
+ FX::Button.new(@matrix47) { |w_button_cx320_move_to_0|
962
+ @button_cx320_move_to_0 = w_button_cx320_move_to_0
963
+ w_button_cx320_move_to_0.wdg_name = "button_cx320_move_to_0"
964
+ w_button_cx320_move_to_0.x = 49
965
+ w_button_cx320_move_to_0.y = 4
966
+ w_button_cx320_move_to_0.width = 102
967
+ w_button_cx320_move_to_0.height = 26
968
+ w_button_cx320_move_to_0.text = I18n.t("button_cx320_move_to_0_text", scope: "dialogbox_printerview", default: "zu Druckstation")
969
+ }
970
+ FX::Button.new(@matrix47) { |w_button_cx320_move_to_2|
971
+ @button_cx320_move_to_2 = w_button_cx320_move_to_2
972
+ w_button_cx320_move_to_2.wdg_name = "button_cx320_move_to_2"
973
+ w_button_cx320_move_to_2.x = 155
974
+ w_button_cx320_move_to_2.y = 4
975
+ w_button_cx320_move_to_2.width = 73
976
+ w_button_cx320_move_to_2.height = 26
977
+ w_button_cx320_move_to_2.text = I18n.t("button_cx320_move_to_2_text", scope: "dialogbox_printerview", default: "zu kont.los")
978
+ }
979
+ FX::Button.new(@matrix47) { |w_button_cx320_move_to_4|
980
+ @button_cx320_move_to_4 = w_button_cx320_move_to_4
981
+ w_button_cx320_move_to_4.wdg_name = "button_cx320_move_to_4"
982
+ w_button_cx320_move_to_4.x = 232
983
+ w_button_cx320_move_to_4.y = 4
984
+ w_button_cx320_move_to_4.width = 57
985
+ w_button_cx320_move_to_4.height = 26
986
+ w_button_cx320_move_to_4.text = I18n.t("button_cx320_move_to_4_text", scope: "dialogbox_printerview", default: "Auswurf")
987
+ }
988
+ }
989
+ }
990
+ FX::TabItem.new(@tabbook_printers) { |w_tabitem_ttp343|
991
+ @tabitem_ttp343 = w_tabitem_ttp343
992
+ w_tabitem_ttp343.wdg_name = "tabitem_ttp343"
993
+ w_tabitem_ttp343.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
994
+ w_tabitem_ttp343.x = 353
995
+ w_tabitem_ttp343.y = 7
996
+ w_tabitem_ttp343.width = 105
997
+ w_tabitem_ttp343.height = 25
998
+ w_tabitem_ttp343.text = I18n.t("tabitem_ttp343_text", scope: "dialogbox_printerview", default: "TSC TTP 34X M")
999
+ w_tabitem_ttp343.backColor = Fox::FXRGBA(240, 240, 240, 255)
1000
+ w_tabitem_ttp343.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1001
+ w_tabitem_ttp343.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1002
+ w_tabitem_ttp343.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1003
+ }
1004
+ FX::VerticalFrame.new(@tabbook_printers) { |w_verticalframe115|
1005
+ @verticalframe115 = w_verticalframe115
1006
+ w_verticalframe115.wdg_name = "verticalframe115"
1007
+ w_verticalframe115.shown = false
1008
+ w_verticalframe115.x = 4
1009
+ w_verticalframe115.y = 28
1010
+ w_verticalframe115.width = 562
1011
+ w_verticalframe115.height = 640
1012
+ w_verticalframe115.backColor = Fox::FXRGBA(240, 240, 240, 255)
1013
+ w_verticalframe115.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1014
+ w_verticalframe115.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1015
+ w_verticalframe115.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1016
+ FX::Matrix.new(@verticalframe115) { |w_matrix108|
1017
+ @matrix108 = w_matrix108
1018
+ w_matrix108.wdg_name = "matrix108"
1019
+ w_matrix108.layoutHints = 1024
1020
+ w_matrix108.width = 562
1021
+ w_matrix108.height = 31
1022
+ w_matrix108.numColumns = 4
1023
+ w_matrix108.backColor = Fox::FXRGBA(240, 240, 240, 255)
1024
+ w_matrix108.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1025
+ w_matrix108.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1026
+ w_matrix108.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1027
+ FX::Label.new(@matrix108) { |w_label_ttp343_device|
1028
+ @label_ttp343_device = w_label_ttp343_device
1029
+ w_label_ttp343_device.wdg_name = "label_ttp343_device"
1030
+ w_label_ttp343_device.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1031
+ w_label_ttp343_device.x = 4
1032
+ w_label_ttp343_device.y = 4
1033
+ w_label_ttp343_device.width = 80
1034
+ w_label_ttp343_device.height = 21
1035
+ w_label_ttp343_device.text = I18n.t("label_ttp343_device_text", scope: "dialogbox_printerview", default: "Device-Datei")
1036
+ w_label_ttp343_device.backColor = Fox::FXRGBA(240, 240, 240, 255)
1037
+ w_label_ttp343_device.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1038
+ w_label_ttp343_device.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1039
+ w_label_ttp343_device.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1040
+ }
1041
+ FX::TextField.new(@matrix108) { |w_textfield_ttp343_device|
1042
+ @textfield_ttp343_device = w_textfield_ttp343_device
1043
+ w_textfield_ttp343_device.wdg_name = "textfield_ttp343_device"
1044
+ w_textfield_ttp343_device.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1045
+ w_textfield_ttp343_device.x = 88
1046
+ w_textfield_ttp343_device.y = 4
1047
+ w_textfield_ttp343_device.width = 86
1048
+ w_textfield_ttp343_device.height = 23
1049
+ w_textfield_ttp343_device.numColumns = 10
1050
+ w_textfield_ttp343_device.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1051
+ w_textfield_ttp343_device.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1052
+ w_textfield_ttp343_device.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1053
+ w_textfield_ttp343_device.selBackColor = Fox::FXRGBA(0, 120, 215, 255)
1054
+ }
1055
+ FX::Label.new(@matrix108) { |w_label_ttp343_resolution|
1056
+ @label_ttp343_resolution = w_label_ttp343_resolution
1057
+ w_label_ttp343_resolution.wdg_name = "label_ttp343_resolution"
1058
+ w_label_ttp343_resolution.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1059
+ w_label_ttp343_resolution.x = 178
1060
+ w_label_ttp343_resolution.y = 4
1061
+ w_label_ttp343_resolution.width = 65
1062
+ w_label_ttp343_resolution.height = 21
1063
+ w_label_ttp343_resolution.text = I18n.t("label_ttp343_resolution_text", scope: "dialogbox_printerview", default: "Auflösung")
1064
+ w_label_ttp343_resolution.backColor = Fox::FXRGBA(240, 240, 240, 255)
1065
+ w_label_ttp343_resolution.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1066
+ w_label_ttp343_resolution.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1067
+ w_label_ttp343_resolution.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1068
+ }
1069
+ FX::Spinner.new(@matrix108) { |w_spinner_ttp343_dpi|
1070
+ @spinner_ttp343_dpi = w_spinner_ttp343_dpi
1071
+ w_spinner_ttp343_dpi.wdg_name = "spinner_ttp343_dpi"
1072
+ w_spinner_ttp343_dpi.layoutHints = 1025
1073
+ w_spinner_ttp343_dpi.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1074
+ w_spinner_ttp343_dpi.range = -2147483648..2147483647
1075
+ w_spinner_ttp343_dpi.x = 247
1076
+ w_spinner_ttp343_dpi.y = 4
1077
+ w_spinner_ttp343_dpi.width = 311
1078
+ w_spinner_ttp343_dpi.height = 23
1079
+ w_spinner_ttp343_dpi.numColumns = 3
1080
+ w_spinner_ttp343_dpi.value = 300
1081
+ w_spinner_ttp343_dpi.backColor = Fox::FXRGBA(240, 240, 240, 255)
1082
+ w_spinner_ttp343_dpi.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1083
+ w_spinner_ttp343_dpi.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1084
+ w_spinner_ttp343_dpi.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1085
+ w_spinner_ttp343_dpi.selBackColor = Fox::FXRGBA(0, 120, 215, 255)
1086
+ }
1087
+ }
1088
+ FX::Label.new(@verticalframe115) { |w_label_ttp343_page_commands|
1089
+ @label_ttp343_page_commands = w_label_ttp343_page_commands
1090
+ w_label_ttp343_page_commands.wdg_name = "label_ttp343_page_commands"
1091
+ w_label_ttp343_page_commands.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1092
+ w_label_ttp343_page_commands.y = 31
1093
+ w_label_ttp343_page_commands.width = 193
1094
+ w_label_ttp343_page_commands.height = 21
1095
+ w_label_ttp343_page_commands.text = I18n.t("label_ttp343_page_commands_text", scope: "dialogbox_printerview", default: "Druckbefehle pro Ausgabeseite")
1096
+ w_label_ttp343_page_commands.backColor = Fox::FXRGBA(240, 240, 240, 255)
1097
+ w_label_ttp343_page_commands.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1098
+ w_label_ttp343_page_commands.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1099
+ w_label_ttp343_page_commands.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1100
+ }
1101
+ FX::Packer.new(@verticalframe115) { |w_packer25|
1102
+ @packer25 = w_packer25
1103
+ w_packer25.wdg_name = "packer25"
1104
+ w_packer25.y = 52
1105
+ w_packer25.width = 562
1106
+ w_packer25.height = 588
1107
+ w_packer25.backColor = Fox::FXRGBA(240, 240, 240, 255)
1108
+ w_packer25.baseColor = Fox::FXRGBA(240, 240, 240, 255)
1109
+ w_packer25.borderColor = Fox::FXRGBA(100, 100, 100, 255)
1110
+ w_packer25.shadowColor = Fox::FXRGBA(160, 160, 160, 255)
1111
+ FX::Text.new(@packer25) { |w_text_ttp343_page_commands|
1112
+ @text_ttp343_page_commands = w_text_ttp343_page_commands
1113
+ w_text_ttp343_page_commands.wdg_name = "text_ttp343_page_commands"
1114
+ w_text_ttp343_page_commands.font = FX::Font.new.from_s("Segoe UI|90|40|5|0|0|0").to_FXFont
1115
+ w_text_ttp343_page_commands.x = 4
1116
+ w_text_ttp343_page_commands.width = 554
1117
+ w_text_ttp343_page_commands.height = 588
1118
+ w_text_ttp343_page_commands.selBackColor = Fox::FXRGBA(0, 120, 215, 255)
1119
+ }
1120
+ }
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+ @topwin
1126
+ end
1127
+ attr_reader :topwin
1128
+ attr_reader :dialogbox_printerview
1129
+ attr_reader :verticalframe_printersetup
1130
+ attr_reader :combobox_printertype
1131
+ attr_reader :tabbook_printers
1132
+ attr_reader :tabitem_gdi_printer
1133
+ attr_reader :verticalframe6
1134
+ attr_reader :matrix_gdi
1135
+ attr_reader :label_gdi_printer
1136
+ attr_reader :combobox_gdi_printer
1137
+ attr_reader :button_gdi_printersetup
1138
+ attr_reader :tabitem_file_printer
1139
+ attr_reader :verticalframe7
1140
+ attr_reader :matrix_file
1141
+ attr_reader :label_fileprinter_save_as
1142
+ attr_reader :textfield_file_save_as
1143
+ attr_reader :button_file_save_as
1144
+ attr_reader :label_fileprinter_resolution
1145
+ attr_reader :spinner_file_dpi
1146
+ attr_reader :label_fileprinter_dpi
1147
+ attr_reader :tabitem_linux_cups
1148
+ attr_reader :verticalframe_linux_cups
1149
+ attr_reader :matrix_linux_cups
1150
+ attr_reader :label_linux_cups_printer
1151
+ attr_reader :combobox_linux_printer
1152
+ attr_reader :label_linux_printer_state
1153
+ attr_reader :label_linux_cups_resolution
1154
+ attr_reader :spinner_linux_cups_dpi
1155
+ attr_reader :label_linux_cups_dpi
1156
+ attr_reader :tabitem_zebra_printer
1157
+ attr_reader :verticalframe21
1158
+ attr_reader :matrix_zebra
1159
+ attr_reader :label_zebra_printer
1160
+ attr_reader :combobox_zebra_printer
1161
+ attr_reader :button_zebra_printersetup
1162
+ attr_reader :horizontalseparator6
1163
+ attr_reader :label_zebra_commands
1164
+ attr_reader :verticalframe27
1165
+ attr_reader :button_zebra_reset
1166
+ attr_reader :button_zebra_eject_card
1167
+ attr_reader :button_zebra_eject_card2
1168
+ attr_reader :button_zebra_move_contactless
1169
+ attr_reader :button_zebra_print_testcard
1170
+ attr_reader :button_zebra_printer_info
1171
+ attr_reader :matrix22
1172
+ attr_reader :label_zebra_command
1173
+ attr_reader :textfield_zebra_command
1174
+ attr_reader :button_zebra_send
1175
+ attr_reader :matrix21
1176
+ attr_reader :label_zebra_answer
1177
+ attr_reader :textfield_zebra_answer
1178
+ attr_reader :tabitem_cab_printer
1179
+ attr_reader :verticalframe40
1180
+ attr_reader :matrix_connection
1181
+ attr_reader :label_cab_host
1182
+ attr_reader :textfield_cab_host
1183
+ attr_reader :label_cab_port
1184
+ attr_reader :spinner_cab_port
1185
+ attr_reader :label_cab_resolution
1186
+ attr_reader :spinner_cab_dpi
1187
+ attr_reader :horizontalframe1
1188
+ attr_reader :verticalframe41
1189
+ attr_reader :button_cab_info
1190
+ attr_reader :button_cab_extended_info
1191
+ attr_reader :button_cab_firmware_version
1192
+ attr_reader :button_cab_self_test
1193
+ attr_reader :button_cab_cancel_jobs
1194
+ attr_reader :text_cab_output
1195
+ attr_reader :label_cab_page_commands
1196
+ attr_reader :packer3
1197
+ attr_reader :text_cab_page_commands
1198
+ attr_reader :tabitem_epl
1199
+ attr_reader :verticalframe50
1200
+ attr_reader :matrix37
1201
+ attr_reader :label_epl_device
1202
+ attr_reader :textfield_epl_device
1203
+ attr_reader :label_epl_resolution
1204
+ attr_reader :spinner_epl_dpi
1205
+ attr_reader :label_epl_page_commands
1206
+ attr_reader :packer5
1207
+ attr_reader :text_epl_page_commands
1208
+ attr_reader :tabitem_cx320
1209
+ attr_reader :verticalframe60
1210
+ attr_reader :matrix_cx320_settings
1211
+ attr_reader :label_cx320_driver
1212
+ attr_reader :combobox_cx320_driver
1213
+ attr_reader :label_cx320_printer_nr
1214
+ attr_reader :spinner_cx320_printer_nr
1215
+ attr_reader :label_cx320_parallel_print
1216
+ attr_reader :combobox_cx320_parallel_print
1217
+ attr_reader :matrix49
1218
+ attr_reader :button_cx320_read_config
1219
+ attr_reader :button_cx320_write_config
1220
+ attr_reader :button_cx320_set_defaults
1221
+ attr_reader :scrollwindow_config
1222
+ attr_reader :packer_cx320_config
1223
+ attr_reader :matrix47
1224
+ attr_reader :button_cx320_reset
1225
+ attr_reader :button_cx320_move_to_0
1226
+ attr_reader :button_cx320_move_to_2
1227
+ attr_reader :button_cx320_move_to_4
1228
+ attr_reader :tabitem_ttp343
1229
+ attr_reader :verticalframe115
1230
+ attr_reader :matrix108
1231
+ attr_reader :label_ttp343_device
1232
+ attr_reader :textfield_ttp343_device
1233
+ attr_reader :label_ttp343_resolution
1234
+ attr_reader :spinner_ttp343_dpi
1235
+ attr_reader :label_ttp343_page_commands
1236
+ attr_reader :packer25
1237
+ attr_reader :text_ttp343_page_commands
1238
+ end
1239
+
1240
+ # unit test
1241
+ if __FILE__ == $0
1242
+ require "libGUIb16"
1243
+ app = FX::App.new
1244
+ w = Dialogbox_printerview.new app
1245
+ w.topwin.show(Fox::PLACEMENT_SCREEN)
1246
+ app.create
1247
+ app.run
1248
+ end