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/QPlainTextEdit>
18#include <QtWidgets/QPushButton>
19#include <QtWidgets/QSpacerItem>
20#include <QtWidgets/QVBoxLayout>
21#include <QtWidgets/QWidget>
22#include "widgets/servicepresetwidget.h"
26class Ui_ColorProducerWidget
29 QVBoxLayout *verticalLayout;
32 QPlainTextEdit *notesTextEdit;
33 ServicePresetWidget *preset;
34 QHBoxLayout *horizontalLayout_2;
35 QPushButton *colorButton;
37 QSpacerItem *horizontalSpacer_8;
38 QSpacerItem *verticalSpacer;
40 void setupUi(QWidget *ColorProducerWidget)
42 if (ColorProducerWidget->objectName().isEmpty())
43 ColorProducerWidget->setObjectName(
"ColorProducerWidget");
44 ColorProducerWidget->resize(396, 296);
45#if QT_CONFIG(whatsthis)
46 ColorProducerWidget->setWhatsThis(QString::fromUtf8(
"https://forum.shotcut.org/t/open-other-color/12925/1"));
48 verticalLayout =
new QVBoxLayout(ColorProducerWidget);
49 verticalLayout->setObjectName(
"verticalLayout");
50 lineEdit =
new QLineEdit(ColorProducerWidget);
51 lineEdit->setObjectName(
"lineEdit");
52 lineEdit->setAlignment(Qt::AlignmentFlag::AlignCenter);
54 verticalLayout->addWidget(lineEdit);
56 notesLabel =
new QLabel(ColorProducerWidget);
57 notesLabel->setObjectName(
"notesLabel");
59 verticalLayout->addWidget(notesLabel);
61 notesTextEdit =
new QPlainTextEdit(ColorProducerWidget);
62 notesTextEdit->setObjectName(
"notesTextEdit");
63 notesTextEdit->setMaximumSize(QSize(16777215, 60));
64 notesTextEdit->setFocusPolicy(Qt::FocusPolicy::StrongFocus);
65 notesTextEdit->setTabChangesFocus(
true);
67 verticalLayout->addWidget(notesTextEdit);
69 preset =
new ServicePresetWidget(ColorProducerWidget);
70 preset->setObjectName(
"preset");
72 verticalLayout->addWidget(preset);
74 horizontalLayout_2 =
new QHBoxLayout();
75 horizontalLayout_2->setObjectName(
"horizontalLayout_2");
76 colorButton =
new QPushButton(ColorProducerWidget);
77 colorButton->setObjectName(
"colorButton");
79 horizontalLayout_2->addWidget(colorButton);
81 colorLabel =
new QLabel(ColorProducerWidget);
82 colorLabel->setObjectName(
"colorLabel");
83 QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Preferred);
84 sizePolicy.setHorizontalStretch(0);
85 sizePolicy.setVerticalStretch(0);
86 sizePolicy.setHeightForWidth(colorLabel->sizePolicy().hasHeightForWidth());
87 colorLabel->setSizePolicy(sizePolicy);
88 colorLabel->setTextInteractionFlags(Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse);
90 horizontalLayout_2->addWidget(colorLabel);
92 horizontalSpacer_8 =
new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
94 horizontalLayout_2->addItem(horizontalSpacer_8);
97 verticalLayout->addLayout(horizontalLayout_2);
99 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
101 verticalLayout->addItem(verticalSpacer);
103 QWidget::setTabOrder(lineEdit, notesTextEdit);
104 QWidget::setTabOrder(notesTextEdit, colorButton);
106 retranslateUi(ColorProducerWidget);
108 QMetaObject::connectSlotsByName(ColorProducerWidget);
111 void retranslateUi(QWidget *ColorProducerWidget)
113 ColorProducerWidget->setWindowTitle(QCoreApplication::translate(
"ColorProducerWidget",
"Form",
nullptr));
114 lineEdit->setText(QCoreApplication::translate(
"ColorProducerWidget",
"Color",
nullptr));
115 notesLabel->setText(QCoreApplication::translate(
"ColorProducerWidget",
"Comments:",
nullptr));
116 notesTextEdit->setPlainText(QString());
117 colorButton->setText(QCoreApplication::translate(
"ColorProducerWidget",
"Color...",
nullptr));
118 colorLabel->setText(QCoreApplication::translate(
"ColorProducerWidget",
"#00000000",
nullptr));
124 class ColorProducerWidget:
public Ui_ColorProducerWidget {};