CuteLogger
Fast and simple logging solution for Qt based applications
ui_htmlgeneratorwidget.h
1/********************************************************************************
2** Form generated from reading UI file 'htmlgeneratorwidget.ui'
3**
4** Created by: Qt User Interface Compiler version 6.11.0
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_HTMLGENERATORWIDGET_H
10#define UI_HTMLGENERATORWIDGET_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QHBoxLayout>
15#include <QtWidgets/QLabel>
16#include <QtWidgets/QLineEdit>
17#include <QtWidgets/QListWidget>
18#include <QtWidgets/QPlainTextEdit>
19#include <QtWidgets/QPushButton>
20#include <QtWidgets/QScrollArea>
21#include <QtWidgets/QSpacerItem>
22#include <QtWidgets/QStackedWidget>
23#include <QtWidgets/QVBoxLayout>
24#include <QtWidgets/QWidget>
25#include "widgets/servicepresetwidget.h"
26
27QT_BEGIN_NAMESPACE
28
29class Ui_HtmlGeneratorWidget
30{
31public:
32 QVBoxLayout *verticalLayout;
33 QLabel *label_2;
34 QStackedWidget *stackedWidget;
35 QWidget *iconPage;
36 QVBoxLayout *iconPageLayout;
37 QListWidget *presetIconView;
38 QWidget *editorPage;
39 QVBoxLayout *editorPageLayout;
40 QScrollArea *scrollArea;
41 QWidget *HTML;
42 QVBoxLayout *verticalLayout_2;
43 ServicePresetWidget *preset;
44 QLabel *textLabel;
45 QVBoxLayout *textVerticalLayout;
46 QHBoxLayout *line1HorizontalLayout;
47 QLabel *line1Label;
48 QLineEdit *line1LineEdit;
49 QHBoxLayout *line2HorizontalLayout;
50 QLabel *line2Label;
51 QLineEdit *line2LineEdit;
52 QHBoxLayout *line3HorizontalLayout;
53 QLabel *line3Label;
54 QLineEdit *line3LineEdit;
55 QPushButton *bodyToggleButton;
56 QVBoxLayout *bodyVerticalLayout;
57 QHBoxLayout *bodyHorizontalLayout;
58 QPushButton *colorButton;
59 QLabel *colorLabel;
60 QPushButton *pushButton;
61 QLabel *bodySpacerLabel;
62 QPlainTextEdit *bodyTextEdit;
63 QPushButton *cssToggleButton;
64 QVBoxLayout *cssVerticalLayout;
65 QPlainTextEdit *cssTextEdit;
66 QPushButton *javascriptToggleButton;
67 QVBoxLayout *javascriptVerticalLayout;
68 QPlainTextEdit *javascriptTextEdit;
69 QSpacerItem *verticalSpacer;
70 QHBoxLayout *horizontalLayout;
71 QSpacerItem *horizontalSpacer;
72 QPushButton *imageButton;
73 QPushButton *videoButton;
74 QSpacerItem *horizontalSpacer_2;
75
76 void setupUi(QWidget *HtmlGeneratorWidget)
77 {
78 if (HtmlGeneratorWidget->objectName().isEmpty())
79 HtmlGeneratorWidget->setObjectName("HtmlGeneratorWidget");
80 HtmlGeneratorWidget->resize(597, 815);
81#if QT_CONFIG(whatsthis)
82 HtmlGeneratorWidget->setWhatsThis(QString::fromUtf8("https://forum.shotcut.org/t/image-video-from-html-generator/50214/1"));
83#endif // QT_CONFIG(whatsthis)
84 verticalLayout = new QVBoxLayout(HtmlGeneratorWidget);
85 verticalLayout->setObjectName("verticalLayout");
86 label_2 = new QLabel(HtmlGeneratorWidget);
87 label_2->setObjectName("label_2");
88 QFont font;
89 font.setBold(true);
90 label_2->setFont(font);
91 label_2->setAlignment(Qt::AlignmentFlag::AlignCenter);
92
93 verticalLayout->addWidget(label_2);
94
95 stackedWidget = new QStackedWidget(HtmlGeneratorWidget);
96 stackedWidget->setObjectName("stackedWidget");
97 iconPage = new QWidget();
98 iconPage->setObjectName("iconPage");
99 iconPageLayout = new QVBoxLayout(iconPage);
100 iconPageLayout->setObjectName("iconPageLayout");
101 iconPageLayout->setContentsMargins(0, 0, 0, 0);
102 presetIconView = new QListWidget(iconPage);
103 presetIconView->setObjectName("presetIconView");
104 presetIconView->setAutoFillBackground(false);
105 presetIconView->setStyleSheet(QString::fromUtf8("QListWidget {\n"
106" background-color: palette(window);\n"
107"}"));
108 presetIconView->setFrameShape(QFrame::Shape::NoFrame);
109 presetIconView->setIconSize(QSize(128, 128));
110 presetIconView->setMovement(QListView::Movement::Static);
111 presetIconView->setResizeMode(QListView::ResizeMode::Adjust);
112 presetIconView->setSpacing(10);
113 presetIconView->setViewMode(QListView::ViewMode::IconMode);
114 presetIconView->setUniformItemSizes(true);
115
116 iconPageLayout->addWidget(presetIconView);
117
118 stackedWidget->addWidget(iconPage);
119 editorPage = new QWidget();
120 editorPage->setObjectName("editorPage");
121 editorPageLayout = new QVBoxLayout(editorPage);
122 editorPageLayout->setObjectName("editorPageLayout");
123 editorPageLayout->setContentsMargins(0, 0, 0, 0);
124 scrollArea = new QScrollArea(editorPage);
125 scrollArea->setObjectName("scrollArea");
126 scrollArea->setFrameShape(QFrame::Shape::NoFrame);
127 scrollArea->setWidgetResizable(true);
128 HTML = new QWidget();
129 HTML->setObjectName("HTML");
130 HTML->setGeometry(QRect(0, 0, 437, 557));
131 verticalLayout_2 = new QVBoxLayout(HTML);
132 verticalLayout_2->setSpacing(3);
133 verticalLayout_2->setObjectName("verticalLayout_2");
134 verticalLayout_2->setContentsMargins(6, 6, 6, 0);
135 preset = new ServicePresetWidget(HTML);
136 preset->setObjectName("preset");
137
138 verticalLayout_2->addWidget(preset);
139
140 textLabel = new QLabel(HTML);
141 textLabel->setObjectName("textLabel");
142 textLabel->setFont(font);
143 textLabel->setVisible(false);
144
145 verticalLayout_2->addWidget(textLabel);
146
147 textVerticalLayout = new QVBoxLayout();
148 textVerticalLayout->setObjectName("textVerticalLayout");
149 textVerticalLayout->setContentsMargins(20, 0, 0, 0);
150 line1HorizontalLayout = new QHBoxLayout();
151 line1HorizontalLayout->setObjectName("line1HorizontalLayout");
152 line1Label = new QLabel(HTML);
153 line1Label->setObjectName("line1Label");
154
155 line1HorizontalLayout->addWidget(line1Label);
156
157 line1LineEdit = new QLineEdit(HTML);
158 line1LineEdit->setObjectName("line1LineEdit");
159
160 line1HorizontalLayout->addWidget(line1LineEdit);
161
162
163 textVerticalLayout->addLayout(line1HorizontalLayout);
164
165 line2HorizontalLayout = new QHBoxLayout();
166 line2HorizontalLayout->setObjectName("line2HorizontalLayout");
167 line2Label = new QLabel(HTML);
168 line2Label->setObjectName("line2Label");
169
170 line2HorizontalLayout->addWidget(line2Label);
171
172 line2LineEdit = new QLineEdit(HTML);
173 line2LineEdit->setObjectName("line2LineEdit");
174
175 line2HorizontalLayout->addWidget(line2LineEdit);
176
177
178 textVerticalLayout->addLayout(line2HorizontalLayout);
179
180 line3HorizontalLayout = new QHBoxLayout();
181 line3HorizontalLayout->setObjectName("line3HorizontalLayout");
182 line3Label = new QLabel(HTML);
183 line3Label->setObjectName("line3Label");
184
185 line3HorizontalLayout->addWidget(line3Label);
186
187 line3LineEdit = new QLineEdit(HTML);
188 line3LineEdit->setObjectName("line3LineEdit");
189
190 line3HorizontalLayout->addWidget(line3LineEdit);
191
192
193 textVerticalLayout->addLayout(line3HorizontalLayout);
194
195
196 verticalLayout_2->addLayout(textVerticalLayout);
197
198 bodyToggleButton = new QPushButton(HTML);
199 bodyToggleButton->setObjectName("bodyToggleButton");
200 bodyToggleButton->setStyleSheet(QString::fromUtf8("QPushButton { text-align: left; font-weight: bold; }"));
201 bodyToggleButton->setCheckable(true);
202 bodyToggleButton->setChecked(false);
203 bodyToggleButton->setFlat(true);
204
205 verticalLayout_2->addWidget(bodyToggleButton);
206
207 bodyVerticalLayout = new QVBoxLayout();
208 bodyVerticalLayout->setObjectName("bodyVerticalLayout");
209 bodyVerticalLayout->setContentsMargins(20, 0, 0, 0);
210 bodyHorizontalLayout = new QHBoxLayout();
211 bodyHorizontalLayout->setObjectName("bodyHorizontalLayout");
212 colorButton = new QPushButton(HTML);
213 colorButton->setObjectName("colorButton");
214
215 bodyHorizontalLayout->addWidget(colorButton);
216
217 colorLabel = new QLabel(HTML);
218 colorLabel->setObjectName("colorLabel");
219 QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Preferred);
220 sizePolicy.setHorizontalStretch(1);
221 sizePolicy.setVerticalStretch(0);
222 sizePolicy.setHeightForWidth(colorLabel->sizePolicy().hasHeightForWidth());
223 colorLabel->setSizePolicy(sizePolicy);
224 colorLabel->setTextInteractionFlags(Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse);
225
226 bodyHorizontalLayout->addWidget(colorLabel);
227
228 pushButton = new QPushButton(HTML);
229 pushButton->setObjectName("pushButton");
230
231 bodyHorizontalLayout->addWidget(pushButton);
232
233 bodySpacerLabel = new QLabel(HTML);
234 bodySpacerLabel->setObjectName("bodySpacerLabel");
235 QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
236 sizePolicy1.setHorizontalStretch(2);
237 sizePolicy1.setVerticalStretch(0);
238 sizePolicy1.setHeightForWidth(bodySpacerLabel->sizePolicy().hasHeightForWidth());
239 bodySpacerLabel->setSizePolicy(sizePolicy1);
240 bodySpacerLabel->setText(QString::fromUtf8(""));
241
242 bodyHorizontalLayout->addWidget(bodySpacerLabel);
243
244
245 bodyVerticalLayout->addLayout(bodyHorizontalLayout);
246
247 bodyTextEdit = new QPlainTextEdit(HTML);
248 bodyTextEdit->setObjectName("bodyTextEdit");
249
250 bodyVerticalLayout->addWidget(bodyTextEdit);
251
252
253 verticalLayout_2->addLayout(bodyVerticalLayout);
254
255 cssToggleButton = new QPushButton(HTML);
256 cssToggleButton->setObjectName("cssToggleButton");
257 cssToggleButton->setStyleSheet(QString::fromUtf8("QPushButton { text-align: left; font-weight: bold; }"));
258 cssToggleButton->setCheckable(true);
259 cssToggleButton->setChecked(false);
260 cssToggleButton->setFlat(true);
261
262 verticalLayout_2->addWidget(cssToggleButton);
263
264 cssVerticalLayout = new QVBoxLayout();
265 cssVerticalLayout->setObjectName("cssVerticalLayout");
266 cssVerticalLayout->setContentsMargins(20, 0, 0, 0);
267 cssTextEdit = new QPlainTextEdit(HTML);
268 cssTextEdit->setObjectName("cssTextEdit");
269
270 cssVerticalLayout->addWidget(cssTextEdit);
271
272
273 verticalLayout_2->addLayout(cssVerticalLayout);
274
275 javascriptToggleButton = new QPushButton(HTML);
276 javascriptToggleButton->setObjectName("javascriptToggleButton");
277 javascriptToggleButton->setStyleSheet(QString::fromUtf8("QPushButton { text-align: left; font-weight: bold; }"));
278 javascriptToggleButton->setCheckable(true);
279 javascriptToggleButton->setChecked(false);
280 javascriptToggleButton->setFlat(true);
281
282 verticalLayout_2->addWidget(javascriptToggleButton);
283
284 javascriptVerticalLayout = new QVBoxLayout();
285 javascriptVerticalLayout->setObjectName("javascriptVerticalLayout");
286 javascriptVerticalLayout->setContentsMargins(20, 0, 0, 0);
287 javascriptTextEdit = new QPlainTextEdit(HTML);
288 javascriptTextEdit->setObjectName("javascriptTextEdit");
289
290 javascriptVerticalLayout->addWidget(javascriptTextEdit);
291
292
293 verticalLayout_2->addLayout(javascriptVerticalLayout);
294
295 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
296
297 verticalLayout_2->addItem(verticalSpacer);
298
299 scrollArea->setWidget(HTML);
300
301 editorPageLayout->addWidget(scrollArea);
302
303 horizontalLayout = new QHBoxLayout();
304 horizontalLayout->setObjectName("horizontalLayout");
305 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
306
307 horizontalLayout->addItem(horizontalSpacer);
308
309 imageButton = new QPushButton(editorPage);
310 imageButton->setObjectName("imageButton");
311
312 horizontalLayout->addWidget(imageButton);
313
314 videoButton = new QPushButton(editorPage);
315 videoButton->setObjectName("videoButton");
316
317 horizontalLayout->addWidget(videoButton);
318
319 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
320
321 horizontalLayout->addItem(horizontalSpacer_2);
322
323
324 editorPageLayout->addLayout(horizontalLayout);
325
326 stackedWidget->addWidget(editorPage);
327
328 verticalLayout->addWidget(stackedWidget);
329
330
331 retranslateUi(HtmlGeneratorWidget);
332
333 stackedWidget->setCurrentIndex(0);
334
335
336 QMetaObject::connectSlotsByName(HtmlGeneratorWidget);
337 } // setupUi
338
339 void retranslateUi(QWidget *HtmlGeneratorWidget)
340 {
341 HtmlGeneratorWidget->setWindowTitle(QCoreApplication::translate("HtmlGeneratorWidget", "Form", nullptr));
342 label_2->setText(QCoreApplication::translate("HtmlGeneratorWidget", "HTML", nullptr));
343 textLabel->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Text", nullptr));
344 line1Label->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Line 1", nullptr));
345 line2Label->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Line 2", nullptr));
346 line3Label->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Line 3", nullptr));
347#if QT_CONFIG(tooltip)
348 bodyToggleButton->setToolTip(QCoreApplication::translate("HtmlGeneratorWidget", "Click to expand or collapse the Body section", nullptr));
349#endif // QT_CONFIG(tooltip)
350 bodyToggleButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "\342\226\266 Body", nullptr));
351 colorButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Background color...", nullptr));
352 colorLabel->setText(QCoreApplication::translate("HtmlGeneratorWidget", "#00000000", nullptr));
353#if QT_CONFIG(tooltip)
354 pushButton->setToolTip(QCoreApplication::translate("HtmlGeneratorWidget", "Click to set color to transparent", nullptr));
355#endif // QT_CONFIG(tooltip)
356 pushButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Transparent", nullptr));
357 bodyTextEdit->setPlaceholderText(QCoreApplication::translate("HtmlGeneratorWidget", "Do not include <html>, <head>, or <body> here", nullptr));
358#if QT_CONFIG(tooltip)
359 cssToggleButton->setToolTip(QCoreApplication::translate("HtmlGeneratorWidget", "Click to expand or collapse the CSS section", nullptr));
360#endif // QT_CONFIG(tooltip)
361 cssToggleButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "\342\226\266 CSS", nullptr));
362 cssTextEdit->setPlaceholderText(QCoreApplication::translate("HtmlGeneratorWidget", "Type or paste stylesheets here", nullptr));
363#if QT_CONFIG(tooltip)
364 javascriptToggleButton->setToolTip(QCoreApplication::translate("HtmlGeneratorWidget", "Click to expand or collapse the JavaScript section", nullptr));
365#endif // QT_CONFIG(tooltip)
366 javascriptToggleButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "\342\226\266 JavaScript", nullptr));
367 javascriptTextEdit->setPlaceholderText(QCoreApplication::translate("HtmlGeneratorWidget", "Type or paste JavaScript code here", nullptr));
368 imageButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Generate Image...", nullptr));
369 videoButton->setText(QCoreApplication::translate("HtmlGeneratorWidget", "Generate Video...", nullptr));
370 } // retranslateUi
371
372};
373
374namespace Ui {
375 class HtmlGeneratorWidget: public Ui_HtmlGeneratorWidget {};
376} // namespace Ui
377
378QT_END_NAMESPACE
379
380#endif // UI_HTMLGENERATORWIDGET_H