10 #include <QtCore/QVariant>
11 #include <QtGui/QAction>
12 #include <QtGui/QApplication>
13 #include <QtGui/QButtonGroup>
14 #include <QtGui/QGridLayout>
15 #include <QtGui/QGroupBox>
16 #include <QtGui/QHBoxLayout>
17 #include <QtGui/QHeaderView>
18 #include <QtGui/QLabel>
19 #include <QtGui/QSpacerItem>
20 #include <QtGui/QToolButton>
21 #include <QtGui/QWidget>
28 QGridLayout *gridLayout_2;
30 QGridLayout *gridLayout;
31 QHBoxLayout *horizontalLayout;
33 QToolButton *colorButton;
34 QSpacerItem *horizontalSpacer;
36 QToolButton *backgroundColorButton;
38 void setupUi(QWidget *MainColorForm)
40 if (MainColorForm->objectName().isEmpty())
41 MainColorForm->setObjectName(QString::fromUtf8(
"MainColorForm"));
42 MainColorForm->resize(314, 96);
43 gridLayout_2 =
new QGridLayout(MainColorForm);
44 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
45 groupBox =
new QGroupBox(MainColorForm);
46 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
47 gridLayout =
new QGridLayout(groupBox);
48 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
49 horizontalLayout =
new QHBoxLayout();
50 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
51 label =
new QLabel(groupBox);
52 label->setObjectName(QString::fromUtf8(
"label"));
54 horizontalLayout->addWidget(label);
56 colorButton =
new QToolButton(groupBox);
57 colorButton->setObjectName(QString::fromUtf8(
"colorButton"));
59 horizontalLayout->addWidget(colorButton);
61 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
63 horizontalLayout->addItem(horizontalSpacer);
65 label_2 =
new QLabel(groupBox);
66 label_2->setObjectName(QString::fromUtf8(
"label_2"));
68 horizontalLayout->addWidget(label_2);
70 backgroundColorButton =
new QToolButton(groupBox);
71 backgroundColorButton->setObjectName(QString::fromUtf8(
"backgroundColorButton"));
73 horizontalLayout->addWidget(backgroundColorButton);
76 gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);
79 gridLayout_2->addWidget(groupBox, 1, 0, 1, 1);
82 retranslateUi(MainColorForm);
84 QMetaObject::connectSlotsByName(MainColorForm);
87 void retranslateUi(QWidget *MainColorForm)
89 MainColorForm->setWindowTitle(QApplication::translate(
"MainColorForm",
"Form", 0, QApplication::UnicodeUTF8));
90 groupBox->setTitle(QApplication::translate(
"MainColorForm",
"Main Color", 0, QApplication::UnicodeUTF8));
91 label->setText(QApplication::translate(
"MainColorForm",
"Foreground", 0, QApplication::UnicodeUTF8));
93 colorButton->setToolTip(QApplication::translate(
"MainColorForm",
"foreground color", 0, QApplication::UnicodeUTF8));
94 #endif // QT_NO_TOOLTIP
95 colorButton->setText(QApplication::translate(
"MainColorForm",
"...", 0, QApplication::UnicodeUTF8));
96 label_2->setText(QApplication::translate(
"MainColorForm",
"Background", 0, QApplication::UnicodeUTF8));
98 backgroundColorButton->setToolTip(QApplication::translate(
"MainColorForm",
"background color", 0, QApplication::UnicodeUTF8));
99 #endif // QT_NO_TOOLTIP
100 backgroundColorButton->setText(QApplication::translate(
"MainColorForm",
"...", 0, QApplication::UnicodeUTF8));