ui_pqPythonShell.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqPythonShell.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_PQPYTHONSHELL_H
10 #define UI_PQPYTHONSHELL_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QHBoxLayout>
15 #include <QtWidgets/QPushButton>
16 #include <QtWidgets/QSpacerItem>
17 #include <QtWidgets/QVBoxLayout>
18 #include <QtWidgets/QWidget>
19 #include "pqConsoleWidget.h"
20 
21 QT_BEGIN_NAMESPACE
22 
24 {
25 public:
26  QVBoxLayout *verticalLayout;
28  QHBoxLayout *horizontalLayout;
29  QSpacerItem *horizontalSpacer_2;
30  QPushButton *runScriptButton;
31  QPushButton *clearButton;
32  QPushButton *resetButton;
33 
34  void setupUi(QWidget *PythonShell)
35  {
36  if (PythonShell->objectName().isEmpty())
37  PythonShell->setObjectName(QString::fromUtf8("PythonShell"));
38  PythonShell->resize(296, 78);
39  verticalLayout = new QVBoxLayout(PythonShell);
40  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
41  verticalLayout->setContentsMargins(0, 0, 0, 0);
42  consoleWidget = new pqConsoleWidget(PythonShell);
43  consoleWidget->setObjectName(QString::fromUtf8("consoleWidget"));
44  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
45  sizePolicy.setHorizontalStretch(0);
46  sizePolicy.setVerticalStretch(0);
47  sizePolicy.setHeightForWidth(consoleWidget->sizePolicy().hasHeightForWidth());
48  consoleWidget->setSizePolicy(sizePolicy);
49 
50  verticalLayout->addWidget(consoleWidget);
51 
52  horizontalLayout = new QHBoxLayout();
53  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
54  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
55 
56  horizontalLayout->addItem(horizontalSpacer_2);
57 
58  runScriptButton = new QPushButton(PythonShell);
59  runScriptButton->setObjectName(QString::fromUtf8("runScriptButton"));
60 
61  horizontalLayout->addWidget(runScriptButton);
62 
63  clearButton = new QPushButton(PythonShell);
64  clearButton->setObjectName(QString::fromUtf8("clearButton"));
65  clearButton->setEnabled(false);
66 
67  horizontalLayout->addWidget(clearButton);
68 
69  resetButton = new QPushButton(PythonShell);
70  resetButton->setObjectName(QString::fromUtf8("resetButton"));
71  resetButton->setEnabled(false);
72 
73  horizontalLayout->addWidget(resetButton);
74 
75 
76  verticalLayout->addLayout(horizontalLayout);
77 
78  verticalLayout->setStretch(0, 1);
79 
80  retranslateUi(PythonShell);
81 
82  QMetaObject::connectSlotsByName(PythonShell);
83  } // setupUi
84 
85  void retranslateUi(QWidget *PythonShell)
86  {
87  PythonShell->setWindowTitle(QCoreApplication::translate("PythonShell", "Form", nullptr));
88  runScriptButton->setText(QCoreApplication::translate("PythonShell", "Run Script", nullptr));
89  clearButton->setText(QCoreApplication::translate("PythonShell", "Clear", nullptr));
90  resetButton->setText(QCoreApplication::translate("PythonShell", "Reset", nullptr));
91  } // retranslateUi
92 
93 };
94 
95 namespace Ui {
96  class PythonShell: public Ui_PythonShell {};
97 } // namespace Ui
98 
99 QT_END_NAMESPACE
100 
101 #endif // UI_PQPYTHONSHELL_H
void setupUi(QWidget *PythonShell)
QPushButton * resetButton
void retranslateUi(QWidget *PythonShell)
pqConsoleWidget * consoleWidget
QSpacerItem * horizontalSpacer_2
QPushButton * clearButton
QHBoxLayout * horizontalLayout
Qt widget that provides an interactive console - you can send text to the console by calling printStr...
QPushButton * runScriptButton
QVBoxLayout * verticalLayout