ui_pqCustomResolutionDialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqCustomResolutionDialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQCUSTOMRESOLUTIONDIALOG_H
10 #define UI_PQCUSTOMRESOLUTIONDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QDialogButtonBox>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QLineEdit>
20 #include <QtWidgets/QSpacerItem>
21 
22 QT_BEGIN_NAMESPACE
23 
25 {
26 public:
27  QGridLayout *gridLayout;
28  QLabel *label;
29  QHBoxLayout *horizontalLayout;
30  QLineEdit *resolutionX;
31  QLabel *label_3;
32  QLineEdit *resolutionY;
33  QLabel *label_2;
34  QDialogButtonBox *buttonBox;
35  QSpacerItem *verticalSpacer;
36  QLineEdit *resolutionLabel;
37  QLabel *label_4;
38 
39  void setupUi(QDialog *CustomResolutionDialog)
40  {
41  if (CustomResolutionDialog->objectName().isEmpty())
42  CustomResolutionDialog->setObjectName(QString::fromUtf8("CustomResolutionDialog"));
43  CustomResolutionDialog->resize(323, 144);
44  gridLayout = new QGridLayout(CustomResolutionDialog);
45  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
46  label = new QLabel(CustomResolutionDialog);
47  label->setObjectName(QString::fromUtf8("label"));
48 
49  gridLayout->addWidget(label, 1, 0, 1, 1);
50 
51  horizontalLayout = new QHBoxLayout();
52  horizontalLayout->setSpacing(2);
53  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
54  resolutionX = new QLineEdit(CustomResolutionDialog);
55  resolutionX->setObjectName(QString::fromUtf8("resolutionX"));
56 
57  horizontalLayout->addWidget(resolutionX);
58 
59  label_3 = new QLabel(CustomResolutionDialog);
60  label_3->setObjectName(QString::fromUtf8("label_3"));
61 
62  horizontalLayout->addWidget(label_3);
63 
64  resolutionY = new QLineEdit(CustomResolutionDialog);
65  resolutionY->setObjectName(QString::fromUtf8("resolutionY"));
66 
67  horizontalLayout->addWidget(resolutionY);
68 
69  horizontalLayout->setStretch(0, 1);
70  horizontalLayout->setStretch(2, 1);
71 
72  gridLayout->addLayout(horizontalLayout, 2, 1, 1, 1);
73 
74  label_2 = new QLabel(CustomResolutionDialog);
75  label_2->setObjectName(QString::fromUtf8("label_2"));
76 
77  gridLayout->addWidget(label_2, 2, 0, 1, 1);
78 
79  buttonBox = new QDialogButtonBox(CustomResolutionDialog);
80  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
81  buttonBox->setOrientation(Qt::Horizontal);
82  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
83 
84  gridLayout->addWidget(buttonBox, 4, 0, 1, 2);
85 
86  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
87 
88  gridLayout->addItem(verticalSpacer, 3, 0, 1, 1);
89 
90  resolutionLabel = new QLineEdit(CustomResolutionDialog);
91  resolutionLabel->setObjectName(QString::fromUtf8("resolutionLabel"));
92 
93  gridLayout->addWidget(resolutionLabel, 1, 1, 1, 1);
94 
95  label_4 = new QLabel(CustomResolutionDialog);
96  label_4->setObjectName(QString::fromUtf8("label_4"));
97 
98  gridLayout->addWidget(label_4, 0, 0, 1, 2);
99 
100  QWidget::setTabOrder(resolutionLabel, resolutionX);
101  QWidget::setTabOrder(resolutionX, resolutionY);
102  QWidget::setTabOrder(resolutionY, buttonBox);
103 
104  retranslateUi(CustomResolutionDialog);
105  QObject::connect(buttonBox, SIGNAL(accepted()), CustomResolutionDialog, SLOT(accept()));
106  QObject::connect(buttonBox, SIGNAL(rejected()), CustomResolutionDialog, SLOT(reject()));
107 
108  QMetaObject::connectSlotsByName(CustomResolutionDialog);
109  } // setupUi
110 
111  void retranslateUi(QDialog *CustomResolutionDialog)
112  {
113  CustomResolutionDialog->setWindowTitle(QCoreApplication::translate("CustomResolutionDialog", "Custom Resolution", nullptr));
114  label->setText(QCoreApplication::translate("CustomResolutionDialog", "Label", nullptr));
115  resolutionX->setPlaceholderText(QCoreApplication::translate("CustomResolutionDialog", "width", nullptr));
116  label_3->setText(QCoreApplication::translate("CustomResolutionDialog", "x", nullptr));
117  resolutionY->setPlaceholderText(QCoreApplication::translate("CustomResolutionDialog", "height", nullptr));
118  label_2->setText(QCoreApplication::translate("CustomResolutionDialog", "Resolution", nullptr));
119  resolutionLabel->setPlaceholderText(QCoreApplication::translate("CustomResolutionDialog", "(optional)", nullptr));
120  label_4->setText(QCoreApplication::translate("CustomResolutionDialog", "Add custom resolution", nullptr));
121  } // retranslateUi
122 
123 };
124 
125 namespace Ui {
127 } // namespace Ui
128 
129 QT_END_NAMESPACE
130 
131 #endif // UI_PQCUSTOMRESOLUTIONDIALOG_H
void retranslateUi(QDialog *CustomResolutionDialog)
void setupUi(QDialog *CustomResolutionDialog)