9 #ifndef UI_LINEINPUTDIALOG_H 10 #define UI_LINEINPUTDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QFrame> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 21 #include "Gui/Utils/Widgets/LineEdit.h" 28 QGridLayout *gridLayout;
29 QHBoxLayout *horizontalLayout;
30 QSpacerItem *horizontalSpacer;
31 QPushButton *btnCancel;
38 void setupUi(QDialog *LineInputDialog)
40 if (LineInputDialog->objectName().isEmpty())
41 LineInputDialog->setObjectName(QString::fromUtf8(
"LineInputDialog"));
42 LineInputDialog->resize(376, 142);
43 gridLayout =
new QGridLayout(LineInputDialog);
44 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
45 gridLayout->setVerticalSpacing(7);
46 horizontalLayout =
new QHBoxLayout();
47 horizontalLayout->setSpacing(7);
48 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
49 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
51 horizontalLayout->addItem(horizontalSpacer);
53 btnCancel =
new QPushButton(LineInputDialog);
54 btnCancel->setObjectName(QString::fromUtf8(
"btnCancel"));
55 btnCancel->setText(QString::fromUtf8(
"Cancel"));
57 horizontalLayout->addWidget(btnCancel);
59 btnOk =
new QPushButton(LineInputDialog);
60 btnOk->setObjectName(QString::fromUtf8(
"btnOk"));
61 btnOk->setText(QString::fromUtf8(
"Ok"));
63 horizontalLayout->addWidget(btnOk);
66 gridLayout->addLayout(horizontalLayout, 4, 0, 1, 1);
69 leInput->setObjectName(QString::fromUtf8(
"leInput"));
71 gridLayout->addWidget(leInput, 1, 0, 1, 1);
73 labHeader =
new QLabel(LineInputDialog);
74 labHeader->setObjectName(QString::fromUtf8(
"labHeader"));
78 labHeader->setFont(font);
79 labHeader->setText(QString::fromUtf8(
"Header Text"));
81 gridLayout->addWidget(labHeader, 0, 0, 1, 1);
83 line =
new QFrame(LineInputDialog);
84 line->setObjectName(QString::fromUtf8(
"line"));
85 line->setFrameShape(QFrame::HLine);
86 line->setFrameShadow(QFrame::Sunken);
88 gridLayout->addWidget(line, 3, 0, 1, 1);
90 labInfo =
new QLabel(LineInputDialog);
91 labInfo->setObjectName(QString::fromUtf8(
"labInfo"));
93 gridLayout->addWidget(labInfo, 2, 0, 1, 1);
96 retranslateUi(LineInputDialog);
98 QMetaObject::connectSlotsByName(LineInputDialog);
101 void retranslateUi(QDialog *LineInputDialog)
103 labInfo->setText(QString());
104 Q_UNUSED(LineInputDialog);
115 #endif // UI_LINEINPUTDIALOG_H
GUI class for String fields meant to convert content to first upper case by a context menu.
Definition: LineEdit.h:39