9 #ifndef UI_COLORPRODUCERWIDGET_H 10 #define UI_COLORPRODUCERWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QHBoxLayout> 15 #include <QtWidgets/QLabel> 16 #include <QtWidgets/QLineEdit> 17 #include <QtWidgets/QPushButton> 18 #include <QtWidgets/QSpacerItem> 19 #include <QtWidgets/QVBoxLayout> 20 #include <QtWidgets/QWidget> 21 #include "widgets/servicepresetwidget.h" 25 class Ui_ColorProducerWidget
28 QVBoxLayout *verticalLayout;
30 ServicePresetWidget *preset;
31 QHBoxLayout *horizontalLayout_2;
32 QPushButton *colorButton;
34 QSpacerItem *horizontalSpacer_8;
35 QSpacerItem *verticalSpacer;
37 void setupUi(QWidget *ColorProducerWidget)
39 if (ColorProducerWidget->objectName().isEmpty())
40 ColorProducerWidget->setObjectName(QString::fromUtf8(
"ColorProducerWidget"));
41 ColorProducerWidget->resize(396, 296);
42 verticalLayout =
new QVBoxLayout(ColorProducerWidget);
43 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
44 lineEdit =
new QLineEdit(ColorProducerWidget);
45 lineEdit->setObjectName(QString::fromUtf8(
"lineEdit"));
46 lineEdit->setAlignment(Qt::AlignCenter);
48 verticalLayout->addWidget(lineEdit);
50 preset =
new ServicePresetWidget(ColorProducerWidget);
51 preset->setObjectName(QString::fromUtf8(
"preset"));
53 verticalLayout->addWidget(preset);
55 horizontalLayout_2 =
new QHBoxLayout();
56 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
57 colorButton =
new QPushButton(ColorProducerWidget);
58 colorButton->setObjectName(QString::fromUtf8(
"colorButton"));
60 horizontalLayout_2->addWidget(colorButton);
62 colorLabel =
new QLabel(ColorProducerWidget);
63 colorLabel->setObjectName(QString::fromUtf8(
"colorLabel"));
64 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
65 sizePolicy.setHorizontalStretch(0);
66 sizePolicy.setVerticalStretch(0);
67 sizePolicy.setHeightForWidth(colorLabel->sizePolicy().hasHeightForWidth());
68 colorLabel->setSizePolicy(sizePolicy);
69 colorLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
71 horizontalLayout_2->addWidget(colorLabel);
73 horizontalSpacer_8 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
75 horizontalLayout_2->addItem(horizontalSpacer_8);
78 verticalLayout->addLayout(horizontalLayout_2);
80 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
82 verticalLayout->addItem(verticalSpacer);
84 QWidget::setTabOrder(colorButton, lineEdit);
86 retranslateUi(ColorProducerWidget);
88 QMetaObject::connectSlotsByName(ColorProducerWidget);
91 void retranslateUi(QWidget *ColorProducerWidget)
93 ColorProducerWidget->setWindowTitle(QApplication::translate(
"ColorProducerWidget",
"Form",
nullptr));
94 lineEdit->setText(QApplication::translate(
"ColorProducerWidget",
"Color",
nullptr));
95 colorButton->setText(QApplication::translate(
"ColorProducerWidget",
"Color...",
nullptr));
96 colorLabel->setText(QApplication::translate(
"ColorProducerWidget",
"#00000000",
nullptr));
102 class ColorProducerWidget:
public Ui_ColorProducerWidget {};
107 #endif // UI_COLORPRODUCERWIDGET_H