9 #ifndef UI_TCLCONSOLE_H 10 #define UI_TCLCONSOLE_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QListView> 22 #include <QtWidgets/QPlainTextEdit> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QVBoxLayout> 43 if (tclConsoleDialog->objectName().isEmpty())
44 tclConsoleDialog->setObjectName(QStringLiteral(
"tclConsoleDialog"));
45 tclConsoleDialog->resize(861, 452);
46 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::MinimumExpanding);
47 sizePolicy.setHorizontalStretch(0);
48 sizePolicy.setVerticalStretch(0);
49 sizePolicy.setHeightForWidth(tclConsoleDialog->sizePolicy().hasHeightForWidth());
50 tclConsoleDialog->setSizePolicy(sizePolicy);
51 tclConsoleDialog->setMinimumSize(QSize(0, 0));
52 tclConsoleDialog->setSizeGripEnabled(
true);
53 gridLayout =
new QGridLayout(tclConsoleDialog);
54 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
55 inputLevelLayout =
new QHBoxLayout();
56 inputLevelLayout->setObjectName(QStringLiteral(
"inputLevelLayout"));
57 inputLevelLayout->setContentsMargins(0, 0, -1, -1);
58 commandInputEdit =
new QPlainTextEdit(tclConsoleDialog);
59 commandInputEdit->setObjectName(QStringLiteral(
"commandInputEdit"));
61 inputLevelLayout->addWidget(commandInputEdit);
63 commandButtonLayout =
new QVBoxLayout();
64 commandButtonLayout->setObjectName(QStringLiteral(
"commandButtonLayout"));
65 commandButtonLayout->setContentsMargins(-1, -1, 0, -1);
66 evalButton =
new QPushButton(tclConsoleDialog);
67 evalButton->setObjectName(QStringLiteral(
"evalButton"));
69 commandButtonLayout->addWidget(evalButton);
71 closeButton =
new QPushButton(tclConsoleDialog);
72 closeButton->setObjectName(QStringLiteral(
"closeButton"));
74 commandButtonLayout->addWidget(closeButton);
77 inputLevelLayout->addLayout(commandButtonLayout);
80 gridLayout->addLayout(inputLevelLayout, 3, 0, 1, 1);
82 outputLabel =
new QLabel(tclConsoleDialog);
83 outputLabel->setObjectName(QStringLiteral(
"outputLabel"));
85 gridLayout->addWidget(outputLabel, 0, 0, 1, 1);
87 listView =
new QListView(tclConsoleDialog);
88 listView->setObjectName(QStringLiteral(
"listView"));
90 gridLayout->addWidget(listView, 1, 0, 1, 1);
92 inputLabel =
new QLabel(tclConsoleDialog);
93 inputLabel->setObjectName(QStringLiteral(
"inputLabel"));
95 gridLayout->addWidget(inputLabel, 2, 0, 1, 1);
99 QObject::connect(closeButton, SIGNAL(clicked()), tclConsoleDialog, SLOT(reject()));
101 QMetaObject::connectSlotsByName(tclConsoleDialog);
106 tclConsoleDialog->setWindowTitle(QApplication::translate(
"tclConsoleDialog",
"TCL Interpreter console", Q_NULLPTR));
107 evalButton->setText(QApplication::translate(
"tclConsoleDialog",
"Evaluate", Q_NULLPTR));
108 closeButton->setText(QApplication::translate(
"tclConsoleDialog",
"Close", Q_NULLPTR));
109 outputLabel->setText(QApplication::translate(
"tclConsoleDialog",
"Interpreter output", Q_NULLPTR));
110 inputLabel->setText(QApplication::translate(
"tclConsoleDialog",
"Command input", Q_NULLPTR));
121 #endif // UI_TCLCONSOLE_H QGridLayout * gridLayout
Definition: ui_tclConsole.h:31
void retranslateUi(QDialog *tclConsoleDialog)
Definition: ui_tclConsole.h:104
void setupUi(QDialog *tclConsoleDialog)
Definition: ui_tclConsole.h:41
Definition: ui_aboutDialog.h:161
QPushButton * evalButton
Definition: ui_tclConsole.h:35
QLabel * inputLabel
Definition: ui_tclConsole.h:39
QPushButton * closeButton
Definition: ui_tclConsole.h:36
QVBoxLayout * commandButtonLayout
Definition: ui_tclConsole.h:34
QHBoxLayout * inputLevelLayout
Definition: ui_tclConsole.h:32
Definition: ui_tclConsole.h:28
QListView * listView
Definition: ui_tclConsole.h:38
QLabel * outputLabel
Definition: ui_tclConsole.h:37
Definition: ui_tclConsole.h:116
QPlainTextEdit * commandInputEdit
Definition: ui_tclConsole.h:33