GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ui-annotation-dialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'annotation-dialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 4.8.6
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_2D_ANNOTATION_2D_DIALOG_H
10 #define UI_2D_ANNOTATION_2D_DIALOG_H
11 
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>
31 
32 QT_BEGIN_NAMESPACE
33 
35 {
36 public:
37  QVBoxLayout *verticalLayout;
38  QGroupBox *groupBox;
39  QGridLayout *gridLayout;
40  QLabel *label;
42  QLabel *label_11;
43  QFontComboBox *cb_font_name;
44  QSpinBox *sb_font_size;
48  QLabel *label_13;
49  QComboBox *cb_horz_align;
50  QLabel *label_14;
51  QComboBox *cb_vert_align;
52  QGroupBox *groupBox_2;
53  QGridLayout *gridLayout_2;
54  QLabel *label_21;
55  QDoubleSpinBox *sb_x;
56  QLabel *label_22;
57  QDoubleSpinBox *sb_y;
58  QLabel *label_23;
59  QDoubleSpinBox *sb_width;
60  QLabel *label_24;
61  QDoubleSpinBox *sb_height;
62  QLabel *label_18;
63  QComboBox *cb_units;
64  QCheckBox *cb_fit_box_to_text;
65  QGroupBox *groupBox_3;
66  QGridLayout *gridLayout_3;
67  QLabel *label_19;
69  QLabel *label_20;
71  QSpacerItem *horizontalSpacer_2;
72  QLabel *label_15;
73  QComboBox *cb_line_style;
74  QLabel *label_16;
75  QSpinBox *sb_line_width;
76  QSpacerItem *horizontalSpacer;
77  QDialogButtonBox *button_box;
78 
80  {
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);
94 
95  gridLayout->addWidget(label, 0, 0, 1, 1);
96 
97  edit_string = new QLineEdit(groupBox);
98  edit_string->setObjectName(QString::fromUtf8("edit_string"));
99 
100  gridLayout->addWidget(edit_string, 0, 1, 1, 6);
101 
102  label_11 = new QLabel(groupBox);
103  label_11->setObjectName(QString::fromUtf8("label_11"));
104  label_11->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
105 
106  gridLayout->addWidget(label_11, 1, 0, 1, 1);
107 
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);
116 
117  gridLayout->addWidget(cb_font_name, 1, 1, 1, 2);
118 
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);
126 
127  gridLayout->addWidget(sb_font_size, 1, 3, 1, 1);
128 
129  cb_font_bold = new QPushButton(groupBox);
130  cb_font_bold->setObjectName(QString::fromUtf8("cb_font_bold"));
131  cb_font_bold->setCheckable(true);
132  cb_font_bold->setAutoDefault(false);
133 
134  gridLayout->addWidget(cb_font_bold, 1, 4, 1, 1);
135 
136  cb_font_italic = new QPushButton(groupBox);
137  cb_font_italic->setObjectName(QString::fromUtf8("cb_font_italic"));
138  cb_font_italic->setCheckable(true);
139  cb_font_italic->setAutoDefault(false);
140 
141  gridLayout->addWidget(cb_font_italic, 1, 5, 1, 1);
142 
143  btn_color = new QPushButton(groupBox);
144  btn_color->setObjectName(QString::fromUtf8("btn_color"));
145  QPalette palette;
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);
202 
203  gridLayout->addWidget(btn_color, 1, 6, 1, 1);
204 
205  label_13 = new QLabel(groupBox);
206  label_13->setObjectName(QString::fromUtf8("label_13"));
207  label_13->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
208 
209  gridLayout->addWidget(label_13, 2, 0, 1, 2);
210 
211  cb_horz_align = new QComboBox(groupBox);
212  cb_horz_align->setObjectName(QString::fromUtf8("cb_horz_align"));
213 
214  gridLayout->addWidget(cb_horz_align, 2, 2, 1, 1);
215 
216  label_14 = new QLabel(groupBox);
217  label_14->setObjectName(QString::fromUtf8("label_14"));
218  label_14->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
219 
220  gridLayout->addWidget(label_14, 2, 3, 1, 2);
221 
222  cb_vert_align = new QComboBox(groupBox);
223  cb_vert_align->setObjectName(QString::fromUtf8("cb_vert_align"));
224 
225  gridLayout->addWidget(cb_vert_align, 2, 5, 1, 2);
226 
227 
228  verticalLayout->addWidget(groupBox);
229 
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);
237 
238  gridLayout_2->addWidget(label_21, 0, 0, 1, 1);
239 
240  sb_x = new QDoubleSpinBox(groupBox_2);
241  sb_x->setObjectName(QString::fromUtf8("sb_x"));
242  sb_x->setMinimum(0);
243  sb_x->setSingleStep(0.01);
244 
245  gridLayout_2->addWidget(sb_x, 0, 1, 1, 1);
246 
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);
250 
251  gridLayout_2->addWidget(label_22, 0, 2, 1, 1);
252 
253  sb_y = new QDoubleSpinBox(groupBox_2);
254  sb_y->setObjectName(QString::fromUtf8("sb_y"));
255  sb_y->setMinimum(0);
256  sb_y->setSingleStep(0.01);
257 
258  gridLayout_2->addWidget(sb_y, 0, 3, 1, 1);
259 
260  label_23 = new QLabel(groupBox_2);
261  label_23->setObjectName(QString::fromUtf8("label_23"));
262 
263  gridLayout_2->addWidget(label_23, 0, 4, 1, 1);
264 
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);
269 
270  gridLayout_2->addWidget(sb_width, 0, 5, 1, 1);
271 
272  label_24 = new QLabel(groupBox_2);
273  label_24->setObjectName(QString::fromUtf8("label_24"));
274 
275  gridLayout_2->addWidget(label_24, 0, 6, 1, 1);
276 
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);
281 
282  gridLayout_2->addWidget(sb_height, 0, 7, 1, 1);
283 
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);
287 
288  gridLayout_2->addWidget(label_18, 1, 0, 1, 1);
289 
290  cb_units = new QComboBox(groupBox_2);
291  cb_units->setObjectName(QString::fromUtf8("cb_units"));
292 
293  gridLayout_2->addWidget(cb_units, 1, 1, 1, 2);
294 
295  cb_fit_box_to_text = new QCheckBox(groupBox_2);
296  cb_fit_box_to_text->setObjectName(QString::fromUtf8("cb_fit_box_to_text"));
297 
298  gridLayout_2->addWidget(cb_fit_box_to_text, 1, 4, 1, 2);
299 
300 
301  verticalLayout->addWidget(groupBox_2);
302 
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);
311 
312  gridLayout_3->addWidget(label_19, 0, 0, 1, 1);
313 
314  btn_background_color = new QPushButton(groupBox_3);
315  btn_background_color->setObjectName(QString::fromUtf8("btn_background_color"));
316  QPalette palette1;
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);
371 
372  gridLayout_3->addWidget(btn_background_color, 0, 1, 1, 1);
373 
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);
377 
378  gridLayout_3->addWidget(label_20, 0, 2, 1, 1);
379 
380  btn_edge_color = new QPushButton(groupBox_3);
381  btn_edge_color->setObjectName(QString::fromUtf8("btn_edge_color"));
382  QPalette palette2;
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);
397 
398  gridLayout_3->addWidget(btn_edge_color, 0, 3, 1, 2);
399 
400  horizontalSpacer_2 = new QSpacerItem(167, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
401 
402  gridLayout_3->addItem(horizontalSpacer_2, 0, 5, 1, 2);
403 
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);
407 
408  gridLayout_3->addWidget(label_15, 1, 0, 1, 1);
409 
410  cb_line_style = new QComboBox(groupBox_3);
411  cb_line_style->setObjectName(QString::fromUtf8("cb_line_style"));
412 
413  gridLayout_3->addWidget(cb_line_style, 1, 1, 1, 1);
414 
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);
418 
419  gridLayout_3->addWidget(label_16, 1, 2, 1, 2);
420 
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);
428 
429  gridLayout_3->addWidget(sb_line_width, 1, 4, 1, 2);
430 
431  horizontalSpacer = new QSpacerItem(137, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
432 
433  gridLayout_3->addItem(horizontalSpacer, 1, 6, 1, 1);
434 
435 
436  verticalLayout->addWidget(groupBox_3);
437 
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);
442 
443  verticalLayout->addWidget(button_box);
444 
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);
455 
456  retranslateUi(annotation_dialog);
457  QObject::connect(button_box, SIGNAL(accepted()), annotation_dialog, SLOT(accept()));
458  QObject::connect(button_box, SIGNAL(rejected()), annotation_dialog, SLOT(reject()));
459 
460  QMetaObject::connectSlotsByName(annotation_dialog);
461  } // setupUi
462 
464  {
465  annotation_dialog->setWindowTitle(QApplication::translate("annotation_dialog", "Annotation", 0, QApplication::UnicodeUTF8));
466  groupBox->setTitle(QApplication::translate("annotation_dialog", "Text", 0, QApplication::UnicodeUTF8));
467  label->setText(QApplication::translate("annotation_dialog", "String", 0, QApplication::UnicodeUTF8));
468  label_11->setText(QApplication::translate("annotation_dialog", "Font", 0, QApplication::UnicodeUTF8));
469 #ifndef QT_NO_TOOLTIP
470  cb_font_bold->setToolTip(QApplication::translate("annotation_dialog", "bold", 0, QApplication::UnicodeUTF8));
471 #endif // QT_NO_TOOLTIP
472  cb_font_bold->setText(QApplication::translate("annotation_dialog", "b", 0, QApplication::UnicodeUTF8));
473 #ifndef QT_NO_TOOLTIP
474  cb_font_italic->setToolTip(QApplication::translate("annotation_dialog", "italic", 0, QApplication::UnicodeUTF8));
475 #endif // QT_NO_TOOLTIP
476  cb_font_italic->setText(QApplication::translate("annotation_dialog", "i", 0, QApplication::UnicodeUTF8));
477 #ifndef QT_NO_TOOLTIP
478  btn_color->setToolTip(QApplication::translate("annotation_dialog", "color", 0, QApplication::UnicodeUTF8));
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()
484  << QApplication::translate("annotation_dialog", "left", 0, QApplication::UnicodeUTF8)
485  << QApplication::translate("annotation_dialog", "middle", 0, QApplication::UnicodeUTF8)
486  << QApplication::translate("annotation_dialog", "right", 0, QApplication::UnicodeUTF8)
487  );
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()
491  << QApplication::translate("annotation_dialog", "top", 0, QApplication::UnicodeUTF8)
492  << QApplication::translate("annotation_dialog", "middle", 0, QApplication::UnicodeUTF8)
493  << QApplication::translate("annotation_dialog", "bottom", 0, QApplication::UnicodeUTF8)
494  );
495  groupBox_2->setTitle(QApplication::translate("annotation_dialog", "Position", 0, QApplication::UnicodeUTF8));
496  label_21->setText(QApplication::translate("annotation_dialog", "X", 0, QApplication::UnicodeUTF8));
497  label_22->setText(QApplication::translate("annotation_dialog", "Y", 0, QApplication::UnicodeUTF8));
498  label_23->setText(QApplication::translate("annotation_dialog", "Width", 0, QApplication::UnicodeUTF8));
499  label_24->setText(QApplication::translate("annotation_dialog", "Height", 0, QApplication::UnicodeUTF8));
500  label_18->setText(QApplication::translate("annotation_dialog", "units", 0, QApplication::UnicodeUTF8));
501  cb_units->clear();
502  cb_units->insertItems(0, QStringList()
503  << QApplication::translate("annotation_dialog", "normalized", 0, QApplication::UnicodeUTF8)
504  );
505  cb_fit_box_to_text->setText(QApplication::translate("annotation_dialog", "Fit to box", 0, QApplication::UnicodeUTF8));
506  groupBox_3->setTitle(QApplication::translate("annotation_dialog", "Box", 0, QApplication::UnicodeUTF8));
507  label_19->setText(QApplication::translate("annotation_dialog", "Background", 0, QApplication::UnicodeUTF8));
508  btn_background_color->setText(QString());
509  label_20->setText(QApplication::translate("annotation_dialog", "Edge", 0, QApplication::UnicodeUTF8));
510  btn_edge_color->setText(QString());
511  label_15->setText(QApplication::translate("annotation_dialog", "Line style", 0, QApplication::UnicodeUTF8));
512  cb_line_style->clear();
513  cb_line_style->insertItems(0, QStringList()
514  << QApplication::translate("annotation_dialog", "none", 0, QApplication::UnicodeUTF8)
515  );
516  label_16->setText(QApplication::translate("annotation_dialog", "Line width", 0, QApplication::UnicodeUTF8));
517  } // retranslateUi
518 
519 };
520 
521 namespace Ui {
523 } // namespace Ui
524 
525 QT_END_NAMESPACE
526 
527 #endif // UI_2D_ANNOTATION_2D_DIALOG_H
void retranslateUi(QDialog *annotation_dialog)
void setupUi(QDialog *annotation_dialog)
QSpacerItem * horizontalSpacer
QDoubleSpinBox * sb_width
QDialogButtonBox * button_box
QSpacerItem * horizontalSpacer_2
QFontComboBox * cb_font_name
QDoubleSpinBox * sb_height
QPushButton * btn_background_color
void translate(Matrix &m, double x, double y, double z)
Definition: graphics.cc:5287