9#ifndef UI_IMAGEPRODUCERWIDGET_H
10#define UI_IMAGEPRODUCERWIDGET_H
12#include <QtCore/QVariant>
13#include <QtGui/QAction>
15#include <QtWidgets/QApplication>
16#include <QtWidgets/QCheckBox>
17#include <QtWidgets/QFormLayout>
18#include <QtWidgets/QHBoxLayout>
19#include <QtWidgets/QLabel>
20#include <QtWidgets/QLineEdit>
21#include <QtWidgets/QPlainTextEdit>
22#include <QtWidgets/QPushButton>
23#include <QtWidgets/QSpacerItem>
24#include <QtWidgets/QSpinBox>
25#include <QtWidgets/QVBoxLayout>
26#include <QtWidgets/QWidget>
27#include "widgets/timespinbox.h"
31class Ui_ImageProducerWidget
34 QAction *actionCopyFullFilePath;
35 QAction *actionOpenFolder;
36 QAction *actionSetFileDate;
37 QAction *actionDisableProxy;
38 QAction *actionMakeProxy;
39 QAction *actionDeleteProxy;
40 QAction *actionCopyHashCode;
41 QAction *actionShowInFiles;
42 QVBoxLayout *verticalLayout;
43 QLineEdit *filenameLabel;
45 QPlainTextEdit *notesTextEdit;
46 QFormLayout *formLayout;
48 QHBoxLayout *horizontalLayout_3;
49 QLabel *resolutionLabel;
50 QLabel *durationLabel;
51 QHBoxLayout *horizontalLayout_6;
52 TimeSpinBox *durationSpinBox;
53 QPushButton *defaultDurationButton;
54 QLabel *aspectRatioLabel;
55 QHBoxLayout *horizontalLayout_2;
56 QSpinBox *aspectNumSpinBox;
58 QSpinBox *aspectDenSpinBox;
59 QCheckBox *sequenceCheckBox;
61 QHBoxLayout *horizontalLayout_4;
62 QSpinBox *repeatSpinBox;
64 QHBoxLayout *horizontalLayout;
65 QPushButton *resetButton;
66 QPushButton *proxyButton;
67 QPushButton *menuButton;
68 QSpacerItem *horizontalSpacer;
69 QSpacerItem *verticalSpacer;
71 void setupUi(QWidget *ImageProducerWidget)
73 if (ImageProducerWidget->objectName().isEmpty())
74 ImageProducerWidget->setObjectName(
"ImageProducerWidget");
75 ImageProducerWidget->resize(366, 356);
76 actionCopyFullFilePath =
new QAction(ImageProducerWidget);
77 actionCopyFullFilePath->setObjectName(
"actionCopyFullFilePath");
78 actionOpenFolder =
new QAction(ImageProducerWidget);
79 actionOpenFolder->setObjectName(
"actionOpenFolder");
80 actionSetFileDate =
new QAction(ImageProducerWidget);
81 actionSetFileDate->setObjectName(
"actionSetFileDate");
82 actionDisableProxy =
new QAction(ImageProducerWidget);
83 actionDisableProxy->setObjectName(
"actionDisableProxy");
84 actionDisableProxy->setCheckable(
true);
85 actionMakeProxy =
new QAction(ImageProducerWidget);
86 actionMakeProxy->setObjectName(
"actionMakeProxy");
87 actionDeleteProxy =
new QAction(ImageProducerWidget);
88 actionDeleteProxy->setObjectName(
"actionDeleteProxy");
89 actionCopyHashCode =
new QAction(ImageProducerWidget);
90 actionCopyHashCode->setObjectName(
"actionCopyHashCode");
91 actionShowInFiles =
new QAction(ImageProducerWidget);
92 actionShowInFiles->setObjectName(
"actionShowInFiles");
93 verticalLayout =
new QVBoxLayout(ImageProducerWidget);
94 verticalLayout->setObjectName(
"verticalLayout");
95 filenameLabel =
new QLineEdit(ImageProducerWidget);
96 filenameLabel->setObjectName(
"filenameLabel");
97 filenameLabel->setAlignment(Qt::AlignCenter);
99 verticalLayout->addWidget(filenameLabel);
101 label_2 =
new QLabel(ImageProducerWidget);
102 label_2->setObjectName(
"label_2");
104 verticalLayout->addWidget(label_2);
106 notesTextEdit =
new QPlainTextEdit(ImageProducerWidget);
107 notesTextEdit->setObjectName(
"notesTextEdit");
108 notesTextEdit->setMaximumSize(QSize(16777215, 60));
109 notesTextEdit->setFocusPolicy(Qt::StrongFocus);
110 notesTextEdit->setTabChangesFocus(
true);
112 verticalLayout->addWidget(notesTextEdit);
114 formLayout =
new QFormLayout();
115 formLayout->setObjectName(
"formLayout");
116 formLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
117 formLayout->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
118 label =
new QLabel(ImageProducerWidget);
119 label->setObjectName(
"label");
121 formLayout->setWidget(0, QFormLayout::LabelRole, label);
123 horizontalLayout_3 =
new QHBoxLayout();
124 horizontalLayout_3->setObjectName(
"horizontalLayout_3");
125 resolutionLabel =
new QLabel(ImageProducerWidget);
126 resolutionLabel->setObjectName(
"resolutionLabel");
127 resolutionLabel->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
129 horizontalLayout_3->addWidget(resolutionLabel);
132 formLayout->setLayout(0, QFormLayout::FieldRole, horizontalLayout_3);
134 durationLabel =
new QLabel(ImageProducerWidget);
135 durationLabel->setObjectName(
"durationLabel");
136 durationLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
138 formLayout->setWidget(2, QFormLayout::LabelRole, durationLabel);
140 horizontalLayout_6 =
new QHBoxLayout();
141 horizontalLayout_6->setObjectName(
"horizontalLayout_6");
142 durationSpinBox =
new TimeSpinBox(ImageProducerWidget);
143 durationSpinBox->setObjectName(
"durationSpinBox");
144 durationSpinBox->setMaximumSize(QSize(150, 16777215));
145 durationSpinBox->setFocusPolicy(Qt::ClickFocus);
146 durationSpinBox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
147 durationSpinBox->setAccelerated(
true);
148 durationSpinBox->setKeyboardTracking(
false);
149 durationSpinBox->setMinimum(1);
150 durationSpinBox->setMaximum(2147483647);
152 horizontalLayout_6->addWidget(durationSpinBox);
154 defaultDurationButton =
new QPushButton(ImageProducerWidget);
155 defaultDurationButton->setObjectName(
"defaultDurationButton");
157 horizontalLayout_6->addWidget(defaultDurationButton);
160 formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayout_6);
162 aspectRatioLabel =
new QLabel(ImageProducerWidget);
163 aspectRatioLabel->setObjectName(
"aspectRatioLabel");
164 aspectRatioLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
166 formLayout->setWidget(3, QFormLayout::LabelRole, aspectRatioLabel);
168 horizontalLayout_2 =
new QHBoxLayout();
169 horizontalLayout_2->setObjectName(
"horizontalLayout_2");
170 aspectNumSpinBox =
new QSpinBox(ImageProducerWidget);
171 aspectNumSpinBox->setObjectName(
"aspectNumSpinBox");
172 aspectNumSpinBox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
173 aspectNumSpinBox->setKeyboardTracking(
false);
174 aspectNumSpinBox->setMinimum(1);
175 aspectNumSpinBox->setMaximum(1000);
176 aspectNumSpinBox->setValue(1);
178 horizontalLayout_2->addWidget(aspectNumSpinBox);
180 label_4 =
new QLabel(ImageProducerWidget);
181 label_4->setObjectName(
"label_4");
183 horizontalLayout_2->addWidget(label_4);
185 aspectDenSpinBox =
new QSpinBox(ImageProducerWidget);
186 aspectDenSpinBox->setObjectName(
"aspectDenSpinBox");
187 aspectDenSpinBox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
188 aspectDenSpinBox->setKeyboardTracking(
false);
189 aspectDenSpinBox->setMinimum(1);
190 aspectDenSpinBox->setMaximum(1000);
191 aspectDenSpinBox->setValue(1);
193 horizontalLayout_2->addWidget(aspectDenSpinBox);
196 formLayout->setLayout(3, QFormLayout::FieldRole, horizontalLayout_2);
198 sequenceCheckBox =
new QCheckBox(ImageProducerWidget);
199 sequenceCheckBox->setObjectName(
"sequenceCheckBox");
201 formLayout->setWidget(4, QFormLayout::SpanningRole, sequenceCheckBox);
203 label_3 =
new QLabel(ImageProducerWidget);
204 label_3->setObjectName(
"label_3");
206 formLayout->setWidget(5, QFormLayout::LabelRole, label_3);
208 horizontalLayout_4 =
new QHBoxLayout();
209 horizontalLayout_4->setObjectName(
"horizontalLayout_4");
210 repeatSpinBox =
new QSpinBox(ImageProducerWidget);
211 repeatSpinBox->setObjectName(
"repeatSpinBox");
212 repeatSpinBox->setEnabled(
false);
213 repeatSpinBox->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
214 repeatSpinBox->setKeyboardTracking(
false);
215 repeatSpinBox->setMinimum(1);
216 repeatSpinBox->setMaximum(999);
217 repeatSpinBox->setValue(50);
219 horizontalLayout_4->addWidget(repeatSpinBox);
221 label_5 =
new QLabel(ImageProducerWidget);
222 label_5->setObjectName(
"label_5");
224 horizontalLayout_4->addWidget(label_5);
227 formLayout->setLayout(5, QFormLayout::FieldRole, horizontalLayout_4);
230 verticalLayout->addLayout(formLayout);
232 horizontalLayout =
new QHBoxLayout();
233 horizontalLayout->setObjectName(
"horizontalLayout");
234 resetButton =
new QPushButton(ImageProducerWidget);
235 resetButton->setObjectName(
"resetButton");
237 horizontalLayout->addWidget(resetButton);
239 proxyButton =
new QPushButton(ImageProducerWidget);
240 proxyButton->setObjectName(
"proxyButton");
242 horizontalLayout->addWidget(proxyButton);
244 menuButton =
new QPushButton(ImageProducerWidget);
245 menuButton->setObjectName(
"menuButton");
247 QString iconThemeName = QString::fromUtf8(
"show-menu");
248 if (QIcon::hasThemeIcon(iconThemeName)) {
249 icon = QIcon::fromTheme(iconThemeName);
251 icon.addFile(QString::fromUtf8(
":/icons/oxygen/32x32/actions/show-menu.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
253 menuButton->setIcon(icon);
255 horizontalLayout->addWidget(menuButton);
257 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
259 horizontalLayout->addItem(horizontalSpacer);
262 verticalLayout->addLayout(horizontalLayout);
264 verticalSpacer =
new QSpacerItem(20, 18, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
266 verticalLayout->addItem(verticalSpacer);
268 QWidget::setTabOrder(filenameLabel, notesTextEdit);
269 QWidget::setTabOrder(notesTextEdit, defaultDurationButton);
270 QWidget::setTabOrder(defaultDurationButton, aspectNumSpinBox);
271 QWidget::setTabOrder(aspectNumSpinBox, aspectDenSpinBox);
272 QWidget::setTabOrder(aspectDenSpinBox, sequenceCheckBox);
273 QWidget::setTabOrder(sequenceCheckBox, repeatSpinBox);
274 QWidget::setTabOrder(repeatSpinBox, resetButton);
275 QWidget::setTabOrder(resetButton, menuButton);
277 retranslateUi(ImageProducerWidget);
279 QMetaObject::connectSlotsByName(ImageProducerWidget);
282 void retranslateUi(QWidget *ImageProducerWidget)
284 ImageProducerWidget->setWindowTitle(QCoreApplication::translate(
"ImageProducerWidget",
"Form",
nullptr));
285 actionCopyFullFilePath->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Copy Full File Path",
nullptr));
286 actionOpenFolder->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Show In Folder",
nullptr));
287 actionSetFileDate->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Set Creation Time...",
nullptr));
288 actionDisableProxy->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Disable Proxy",
nullptr));
289 actionMakeProxy->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Make Proxy",
nullptr));
290 actionDeleteProxy->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Delete Proxy",
nullptr));
291 actionCopyHashCode->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Copy Hash Code",
nullptr));
292 actionShowInFiles->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Show In Files",
nullptr));
293 label_2->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Comments:",
nullptr));
294 notesTextEdit->setPlainText(QString());
295 label->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Resolution",
nullptr));
296 resolutionLabel->setText(QCoreApplication::translate(
"ImageProducerWidget",
"x",
nullptr));
297 durationLabel->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Duration",
nullptr));
298#if QT_CONFIG(tooltip)
299 defaultDurationButton->setToolTip(QCoreApplication::translate(
"ImageProducerWidget",
"Make the current duration value the default value",
nullptr));
301 defaultDurationButton->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Set Default",
nullptr));
302 aspectRatioLabel->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Pixel aspect ratio",
nullptr));
303 label_4->setText(QCoreApplication::translate(
"ImageProducerWidget",
":",
nullptr));
304 sequenceCheckBox->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Image sequence",
nullptr));
305 label_3->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Repeat",
nullptr));
306 repeatSpinBox->setSuffix(QCoreApplication::translate(
"ImageProducerWidget",
" frames",
nullptr));
307 label_5->setText(QCoreApplication::translate(
"ImageProducerWidget",
"per picture",
nullptr));
308 resetButton->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Reset",
nullptr));
309 proxyButton->setText(QCoreApplication::translate(
"ImageProducerWidget",
"Proxy",
nullptr));
310#if QT_CONFIG(tooltip)
311 menuButton->setToolTip(QCoreApplication::translate(
"ImageProducerWidget",
"Properties Menu",
nullptr));
313 menuButton->setText(QString());
319 class ImageProducerWidget:
public Ui_ImageProducerWidget {};