9 #ifndef UI_TCLPROGRAMS_H 10 #define UI_TCLPROGRAMS_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QListView> 23 #include <QtWidgets/QPlainTextEdit> 40 if (tclProgramsDialog->objectName().isEmpty())
41 tclProgramsDialog->setObjectName(QStringLiteral(
"tclProgramsDialog"));
42 tclProgramsDialog->resize(909, 648);
43 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::MinimumExpanding);
44 sizePolicy.setHorizontalStretch(0);
45 sizePolicy.setVerticalStretch(0);
46 sizePolicy.setHeightForWidth(tclProgramsDialog->sizePolicy().hasHeightForWidth());
47 tclProgramsDialog->setSizePolicy(sizePolicy);
48 tclProgramsDialog->setMinimumSize(QSize(0, 0));
49 tclProgramsDialog->setSizeGripEnabled(
true);
50 gridLayout =
new QGridLayout(tclProgramsDialog);
51 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
52 inputLevelLayout =
new QHBoxLayout();
53 inputLevelLayout->setObjectName(QStringLiteral(
"inputLevelLayout"));
54 inputLevelLayout->setContentsMargins(0, 0, -1, -1);
55 commandInputEdit =
new QPlainTextEdit(tclProgramsDialog);
56 commandInputEdit->setObjectName(QStringLiteral(
"commandInputEdit"));
58 inputLevelLayout->addWidget(commandInputEdit);
61 gridLayout->addLayout(inputLevelLayout, 3, 0, 1, 1);
63 listingLabel =
new QLabel(tclProgramsDialog);
64 listingLabel->setObjectName(QStringLiteral(
"listingLabel"));
66 gridLayout->addWidget(listingLabel, 0, 0, 1, 1);
68 listView =
new QListView(tclProgramsDialog);
69 listView->setObjectName(QStringLiteral(
"listView"));
70 listView->setMaximumSize(QSize(16777215, 200));
71 listView->setEditTriggers(QAbstractItemView::NoEditTriggers);
73 gridLayout->addWidget(listView, 1, 0, 1, 1);
75 programCodeLabel =
new QLabel(tclProgramsDialog);
76 programCodeLabel->setObjectName(QStringLiteral(
"programCodeLabel"));
78 gridLayout->addWidget(programCodeLabel, 2, 0, 1, 1);
80 buttonBox =
new QDialogButtonBox(tclProgramsDialog);
81 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
82 buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Save);
84 gridLayout->addWidget(buttonBox, 4, 0, 1, 1);
88 QObject::connect(buttonBox, SIGNAL(rejected()), tclProgramsDialog, SLOT(reject()));
90 QMetaObject::connectSlotsByName(tclProgramsDialog);
95 tclProgramsDialog->setWindowTitle(QApplication::translate(
"tclProgramsDialog",
"TCL programs", Q_NULLPTR));
96 listingLabel->setText(QApplication::translate(
"tclProgramsDialog",
"Stored programs", Q_NULLPTR));
97 programCodeLabel->setText(QApplication::translate(
"tclProgramsDialog",
"Program code", Q_NULLPTR));
108 #endif // UI_TCLPROGRAMS_H QPlainTextEdit * commandInputEdit
Definition: ui_tclPrograms.h:32
QDialogButtonBox * buttonBox
Definition: ui_tclPrograms.h:36
QLabel * listingLabel
Definition: ui_tclPrograms.h:33
Definition: ui_aboutDialog.h:161
QLabel * programCodeLabel
Definition: ui_tclPrograms.h:35
QGridLayout * gridLayout
Definition: ui_tclPrograms.h:30
void retranslateUi(QDialog *tclProgramsDialog)
Definition: ui_tclPrograms.h:93
Definition: ui_tclPrograms.h:27
QListView * listView
Definition: ui_tclPrograms.h:34
void setupUi(QDialog *tclProgramsDialog)
Definition: ui_tclPrograms.h:38
QHBoxLayout * inputLevelLayout
Definition: ui_tclPrograms.h:31
Definition: ui_tclPrograms.h:103