9 #ifndef UI_2D_ANNOTATION_2D_DIALOG_H
10 #define UI_2D_ANNOTATION_2D_DIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QCheckBox>
17 #include <QtGui/QComboBox>
18 #include <QtGui/QDialog>
19 #include <QtGui/QDialogButtonBox>
20 #include <QtGui/QDoubleSpinBox>
21 #include <QtGui/QFontComboBox>
22 #include <QtGui/QGridLayout>
23 #include <QtGui/QGroupBox>
24 #include <QtGui/QHeaderView>
25 #include <QtGui/QLabel>
26 #include <QtGui/QLineEdit>
27 #include <QtGui/QPushButton>
28 #include <QtGui/QSpacerItem>
29 #include <QtGui/QSpinBox>
30 #include <QtGui/QVBoxLayout>
81 if (annotation_dialog->objectName().isEmpty())
82 annotation_dialog->setObjectName(QString::fromUtf8(
"annotation_dialog"));
83 annotation_dialog->setWindowModality(Qt::WindowModal);
84 annotation_dialog->resize(621, 401);
85 verticalLayout =
new QVBoxLayout(annotation_dialog);
86 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
87 groupBox =
new QGroupBox(annotation_dialog);
88 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
89 gridLayout =
new QGridLayout(groupBox);
90 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
91 label =
new QLabel(groupBox);
92 label->setObjectName(QString::fromUtf8(
"label"));
93 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
95 gridLayout->addWidget(label, 0, 0, 1, 1);
98 edit_string->setObjectName(QString::fromUtf8(
"edit_string"));
100 gridLayout->addWidget(edit_string, 0, 1, 1, 6);
102 label_11 =
new QLabel(groupBox);
103 label_11->setObjectName(QString::fromUtf8(
"label_11"));
104 label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
106 gridLayout->addWidget(label_11, 1, 0, 1, 1);
108 cb_font_name =
new QFontComboBox(groupBox);
109 cb_font_name->setObjectName(QString::fromUtf8(
"cb_font_name"));
110 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
111 sizePolicy.setHorizontalStretch(0);
112 sizePolicy.setVerticalStretch(0);
113 sizePolicy.setHeightForWidth(cb_font_name->sizePolicy().hasHeightForWidth());
114 cb_font_name->setSizePolicy(sizePolicy);
115 cb_font_name->setEditable(
false);
117 gridLayout->addWidget(cb_font_name, 1, 1, 1, 2);
119 sb_font_size =
new QSpinBox(groupBox);
120 sb_font_size->setObjectName(QString::fromUtf8(
"sb_font_size"));
121 sizePolicy.setHeightForWidth(sb_font_size->sizePolicy().hasHeightForWidth());
122 sb_font_size->setSizePolicy(sizePolicy);
123 sb_font_size->setMinimum(2);
124 sb_font_size->setMaximum(96);
125 sb_font_size->setValue(10);
127 gridLayout->addWidget(sb_font_size, 1, 3, 1, 1);
130 cb_font_bold->setObjectName(QString::fromUtf8(
"cb_font_bold"));
131 cb_font_bold->setCheckable(
true);
132 cb_font_bold->setAutoDefault(
false);
134 gridLayout->addWidget(cb_font_bold, 1, 4, 1, 1);
137 cb_font_italic->setObjectName(QString::fromUtf8(
"cb_font_italic"));
138 cb_font_italic->setCheckable(
true);
139 cb_font_italic->setAutoDefault(
false);
141 gridLayout->addWidget(cb_font_italic, 1, 5, 1, 1);
144 btn_color->setObjectName(QString::fromUtf8(
"btn_color"));
146 QBrush brush(QColor(255, 255, 255, 255));
147 brush.setStyle(Qt::SolidPattern);
148 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
149 QBrush brush1(QColor(0, 0, 0, 255));
150 brush1.setStyle(Qt::SolidPattern);
151 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
152 palette.setBrush(QPalette::Active, QPalette::Light, brush1);
153 palette.setBrush(QPalette::Active, QPalette::Midlight, brush1);
154 palette.setBrush(QPalette::Active, QPalette::Dark, brush1);
155 palette.setBrush(QPalette::Active, QPalette::Mid, brush1);
156 palette.setBrush(QPalette::Active, QPalette::Text, brush);
157 palette.setBrush(QPalette::Active, QPalette::BrightText, brush);
158 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
159 palette.setBrush(QPalette::Active, QPalette::Base, brush1);
160 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
161 palette.setBrush(QPalette::Active, QPalette::Shadow, brush1);
162 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush1);
163 QBrush brush2(QColor(255, 255, 220, 255));
164 brush2.setStyle(Qt::SolidPattern);
165 palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush2);
166 palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush1);
167 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
168 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
169 palette.setBrush(QPalette::Inactive, QPalette::Light, brush1);
170 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush1);
171 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush1);
172 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush1);
173 palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
174 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush);
175 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
176 palette.setBrush(QPalette::Inactive, QPalette::Base, brush1);
177 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
178 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush1);
179 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush1);
180 palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush2);
181 palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1);
182 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush1);
183 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
184 palette.setBrush(QPalette::Disabled, QPalette::Light, brush1);
185 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush1);
186 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush1);
187 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush1);
188 palette.setBrush(QPalette::Disabled, QPalette::Text, brush1);
189 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush);
190 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush1);
191 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
192 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
193 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush1);
194 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
195 palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush2);
196 palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1);
197 btn_color->setPalette(palette);
198 btn_color->setAutoFillBackground(
false);
199 btn_color->setStyleSheet(QString::fromUtf8(
"background-color: #000000; border: 1px solid #000000;"));
200 btn_color->setAutoDefault(
false);
201 btn_color->setFlat(
true);
203 gridLayout->addWidget(btn_color, 1, 6, 1, 1);
205 label_13 =
new QLabel(groupBox);
206 label_13->setObjectName(QString::fromUtf8(
"label_13"));
207 label_13->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
209 gridLayout->addWidget(label_13, 2, 0, 1, 2);
211 cb_horz_align =
new QComboBox(groupBox);
212 cb_horz_align->setObjectName(QString::fromUtf8(
"cb_horz_align"));
214 gridLayout->addWidget(cb_horz_align, 2, 2, 1, 1);
216 label_14 =
new QLabel(groupBox);
217 label_14->setObjectName(QString::fromUtf8(
"label_14"));
218 label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
220 gridLayout->addWidget(label_14, 2, 3, 1, 2);
222 cb_vert_align =
new QComboBox(groupBox);
223 cb_vert_align->setObjectName(QString::fromUtf8(
"cb_vert_align"));
225 gridLayout->addWidget(cb_vert_align, 2, 5, 1, 2);
228 verticalLayout->addWidget(groupBox);
230 groupBox_2 =
new QGroupBox(annotation_dialog);
231 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
232 gridLayout_2 =
new QGridLayout(groupBox_2);
233 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
234 label_21 =
new QLabel(groupBox_2);
235 label_21->setObjectName(QString::fromUtf8(
"label_21"));
236 label_21->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
238 gridLayout_2->addWidget(label_21, 0, 0, 1, 1);
240 sb_x =
new QDoubleSpinBox(groupBox_2);
241 sb_x->setObjectName(QString::fromUtf8(
"sb_x"));
243 sb_x->setSingleStep(0.01);
245 gridLayout_2->addWidget(sb_x, 0, 1, 1, 1);
247 label_22 =
new QLabel(groupBox_2);
248 label_22->setObjectName(QString::fromUtf8(
"label_22"));
249 label_22->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
251 gridLayout_2->addWidget(label_22, 0, 2, 1, 1);
253 sb_y =
new QDoubleSpinBox(groupBox_2);
254 sb_y->setObjectName(QString::fromUtf8(
"sb_y"));
256 sb_y->setSingleStep(0.01);
258 gridLayout_2->addWidget(sb_y, 0, 3, 1, 1);
260 label_23 =
new QLabel(groupBox_2);
261 label_23->setObjectName(QString::fromUtf8(
"label_23"));
263 gridLayout_2->addWidget(label_23, 0, 4, 1, 1);
265 sb_width =
new QDoubleSpinBox(groupBox_2);
266 sb_width->setObjectName(QString::fromUtf8(
"sb_width"));
267 sb_width->setMinimum(-99.99);
268 sb_width->setSingleStep(0.01);
270 gridLayout_2->addWidget(sb_width, 0, 5, 1, 1);
272 label_24 =
new QLabel(groupBox_2);
273 label_24->setObjectName(QString::fromUtf8(
"label_24"));
275 gridLayout_2->addWidget(label_24, 0, 6, 1, 1);
277 sb_height =
new QDoubleSpinBox(groupBox_2);
278 sb_height->setObjectName(QString::fromUtf8(
"sb_height"));
279 sb_height->setMinimum(-99);
280 sb_height->setSingleStep(0.01);
282 gridLayout_2->addWidget(sb_height, 0, 7, 1, 1);
284 label_18 =
new QLabel(groupBox_2);
285 label_18->setObjectName(QString::fromUtf8(
"label_18"));
286 label_18->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
288 gridLayout_2->addWidget(label_18, 1, 0, 1, 1);
290 cb_units =
new QComboBox(groupBox_2);
291 cb_units->setObjectName(QString::fromUtf8(
"cb_units"));
293 gridLayout_2->addWidget(cb_units, 1, 1, 1, 2);
295 cb_fit_box_to_text =
new QCheckBox(groupBox_2);
296 cb_fit_box_to_text->setObjectName(QString::fromUtf8(
"cb_fit_box_to_text"));
298 gridLayout_2->addWidget(cb_fit_box_to_text, 1, 4, 1, 2);
301 verticalLayout->addWidget(groupBox_2);
303 groupBox_3 =
new QGroupBox(annotation_dialog);
304 groupBox_3->setObjectName(QString::fromUtf8(
"groupBox_3"));
305 groupBox_3->setEnabled(
false);
306 gridLayout_3 =
new QGridLayout(groupBox_3);
307 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
308 label_19 =
new QLabel(groupBox_3);
309 label_19->setObjectName(QString::fromUtf8(
"label_19"));
310 label_19->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
312 gridLayout_3->addWidget(label_19, 0, 0, 1, 1);
314 btn_background_color =
new QPushButton(groupBox_3);
315 btn_background_color->setObjectName(QString::fromUtf8(
"btn_background_color"));
317 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush1);
318 palette1.setBrush(QPalette::Active, QPalette::Button, brush);
319 palette1.setBrush(QPalette::Active, QPalette::Light, brush);
320 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush);
321 QBrush brush3(QColor(127, 127, 127, 255));
322 brush3.setStyle(Qt::SolidPattern);
323 palette1.setBrush(QPalette::Active, QPalette::Dark, brush3);
324 QBrush brush4(QColor(170, 170, 170, 255));
325 brush4.setStyle(Qt::SolidPattern);
326 palette1.setBrush(QPalette::Active, QPalette::Mid, brush4);
327 palette1.setBrush(QPalette::Active, QPalette::Text, brush1);
328 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush);
329 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush1);
330 palette1.setBrush(QPalette::Active, QPalette::Base, brush);
331 palette1.setBrush(QPalette::Active, QPalette::Window, brush);
332 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush1);
333 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush);
334 palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush2);
335 palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush1);
336 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush1);
337 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush);
338 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush);
339 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush);
340 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush3);
341 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush4);
342 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush1);
343 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush);
344 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush1);
345 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush);
346 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush);
347 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush1);
348 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush);
349 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush2);
350 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush1);
351 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush3);
352 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush);
353 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush);
354 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush);
355 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush3);
356 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush4);
357 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush3);
358 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush);
359 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush3);
360 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush);
361 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush);
362 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush1);
363 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush);
364 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush2);
365 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush1);
366 btn_background_color->setPalette(palette1);
367 btn_background_color->setAutoFillBackground(
false);
368 btn_background_color->setStyleSheet(QString::fromUtf8(
"background-color: #ffffff; border: 1px solid #000000;"));
369 btn_background_color->setAutoDefault(
false);
370 btn_background_color->setFlat(
true);
372 gridLayout_3->addWidget(btn_background_color, 0, 1, 1, 1);
374 label_20 =
new QLabel(groupBox_3);
375 label_20->setObjectName(QString::fromUtf8(
"label_20"));
376 label_20->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
378 gridLayout_3->addWidget(label_20, 0, 2, 1, 1);
381 btn_edge_color->setObjectName(QString::fromUtf8(
"btn_edge_color"));
383 palette2.setBrush(QPalette::Active, QPalette::Button, brush1);
384 palette2.setBrush(QPalette::Active, QPalette::Base, brush1);
385 palette2.setBrush(QPalette::Active, QPalette::Window, brush1);
386 palette2.setBrush(QPalette::Inactive, QPalette::Button, brush1);
387 palette2.setBrush(QPalette::Inactive, QPalette::Base, brush1);
388 palette2.setBrush(QPalette::Inactive, QPalette::Window, brush1);
389 palette2.setBrush(QPalette::Disabled, QPalette::Button, brush1);
390 palette2.setBrush(QPalette::Disabled, QPalette::Base, brush1);
391 palette2.setBrush(QPalette::Disabled, QPalette::Window, brush1);
392 btn_edge_color->setPalette(palette2);
393 btn_edge_color->setAutoFillBackground(
false);
394 btn_edge_color->setStyleSheet(QString::fromUtf8(
"background-color: #000000; border: 1px solid #000000;"));
395 btn_edge_color->setAutoDefault(
false);
396 btn_edge_color->setFlat(
true);
398 gridLayout_3->addWidget(btn_edge_color, 0, 3, 1, 2);
400 horizontalSpacer_2 =
new QSpacerItem(167, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
402 gridLayout_3->addItem(horizontalSpacer_2, 0, 5, 1, 2);
404 label_15 =
new QLabel(groupBox_3);
405 label_15->setObjectName(QString::fromUtf8(
"label_15"));
406 label_15->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
408 gridLayout_3->addWidget(label_15, 1, 0, 1, 1);
410 cb_line_style =
new QComboBox(groupBox_3);
411 cb_line_style->setObjectName(QString::fromUtf8(
"cb_line_style"));
413 gridLayout_3->addWidget(cb_line_style, 1, 1, 1, 1);
415 label_16 =
new QLabel(groupBox_3);
416 label_16->setObjectName(QString::fromUtf8(
"label_16"));
417 label_16->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
419 gridLayout_3->addWidget(label_16, 1, 2, 1, 2);
421 sb_line_width =
new QSpinBox(groupBox_3);
422 sb_line_width->setObjectName(QString::fromUtf8(
"sb_line_width"));
423 sizePolicy.setHeightForWidth(sb_line_width->sizePolicy().hasHeightForWidth());
424 sb_line_width->setSizePolicy(sizePolicy);
425 sb_line_width->setMinimum(2);
426 sb_line_width->setMaximum(96);
427 sb_line_width->setValue(10);
429 gridLayout_3->addWidget(sb_line_width, 1, 4, 1, 2);
431 horizontalSpacer =
new QSpacerItem(137, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
433 gridLayout_3->addItem(horizontalSpacer, 1, 6, 1, 1);
436 verticalLayout->addWidget(groupBox_3);
438 button_box =
new QDialogButtonBox(annotation_dialog);
439 button_box->setObjectName(QString::fromUtf8(
"button_box"));
440 button_box->setOrientation(Qt::Horizontal);
441 button_box->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
443 verticalLayout->addWidget(button_box);
445 QWidget::setTabOrder(edit_string, cb_font_name);
446 QWidget::setTabOrder(cb_font_name, cb_font_bold);
447 QWidget::setTabOrder(cb_font_bold, cb_font_italic);
448 QWidget::setTabOrder(cb_font_italic, sb_font_size);
449 QWidget::setTabOrder(sb_font_size, cb_horz_align);
450 QWidget::setTabOrder(cb_horz_align, cb_vert_align);
451 QWidget::setTabOrder(cb_vert_align, cb_units);
452 QWidget::setTabOrder(cb_units, cb_fit_box_to_text);
453 QWidget::setTabOrder(cb_fit_box_to_text, btn_edge_color);
454 QWidget::setTabOrder(btn_edge_color, button_box);
457 QObject::connect(button_box, SIGNAL(accepted()), annotation_dialog, SLOT(accept()));
458 QObject::connect(button_box, SIGNAL(rejected()), annotation_dialog, SLOT(reject()));
460 QMetaObject::connectSlotsByName(annotation_dialog);
465 annotation_dialog->setWindowTitle(
QApplication::translate(
"annotation_dialog",
"Annotation", 0, QApplication::UnicodeUTF8));
469 #ifndef QT_NO_TOOLTIP
471 #endif // QT_NO_TOOLTIP
473 #ifndef QT_NO_TOOLTIP
474 cb_font_italic->setToolTip(
QApplication::translate(
"annotation_dialog",
"italic", 0, QApplication::UnicodeUTF8));
475 #endif // QT_NO_TOOLTIP
477 #ifndef QT_NO_TOOLTIP
479 #endif // QT_NO_TOOLTIP
480 btn_color->setText(QString());
481 label_13->setText(
QApplication::translate(
"annotation_dialog",
"Horz alignment", 0, QApplication::UnicodeUTF8));
482 cb_horz_align->clear();
483 cb_horz_align->insertItems(0, QStringList()
488 label_14->setText(
QApplication::translate(
"annotation_dialog",
"Vert alignment", 0, QApplication::UnicodeUTF8));
489 cb_vert_align->clear();
490 cb_vert_align->insertItems(0, QStringList()
502 cb_units->insertItems(0, QStringList()
505 cb_fit_box_to_text->setText(
QApplication::translate(
"annotation_dialog",
"Fit to box", 0, QApplication::UnicodeUTF8));
508 btn_background_color->setText(QString());
510 btn_edge_color->setText(QString());
512 cb_line_style->clear();
513 cb_line_style->insertItems(0, QStringList()
527 #endif // UI_2D_ANNOTATION_2D_DIALOG_H
void retranslateUi(QDialog *annotation_dialog)
void setupUi(QDialog *annotation_dialog)
QSpacerItem * horizontalSpacer
QPushButton * cb_font_bold
QDoubleSpinBox * sb_width
QComboBox * cb_horz_align
QComboBox * cb_line_style
QDialogButtonBox * button_box
QPushButton * cb_font_italic
QGridLayout * gridLayout_2
QGridLayout * gridLayout_3
QSpacerItem * horizontalSpacer_2
QComboBox * cb_vert_align
QPushButton * btn_edge_color
QVBoxLayout * verticalLayout
QFontComboBox * cb_font_name
QCheckBox * cb_fit_box_to_text
QDoubleSpinBox * sb_height
QPushButton * btn_background_color
void translate(Matrix &m, double x, double y, double z)