Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Ui_Dialog Class Reference

#include <ui_OIQtListsDialog.h>

+ Inheritance diagram for Ui_Dialog:

Public Member Functions

void setupUi (QDialog *Dialog)
 
void retranslateUi (QDialog *Dialog)
 

Public Attributes

QWidget * horizontalLayoutWidget
 
QHBoxLayout * horizontalLayout
 
QPushButton * pushButton_2
 
QPushButton * pushButton_3
 
QPushButton * pushButton
 
QWidget * layoutWidget
 
QFormLayout * formLayout
 
QLabel * label
 
QLineEdit * lineEdit
 
QListWidget * listWidget
 
QWidget * layoutWidget1
 
QFormLayout * formLayout_2
 
QLabel * label_2
 
QListWidget * listWidget1
 

Detailed Description

Definition at line 28 of file ui_OIQtListsDialog.h.

Member Function Documentation

◆ retranslateUi()

void Ui_Dialog::retranslateUi ( QDialog * Dialog)
inline

Definition at line 144 of file ui_OIQtListsDialog.h.

145 {
146 Dialog->setWindowTitle(QApplication::translate("Dialog", "OIQt", 0));
147#ifndef QT_NO_TOOLTIP
148 pushButton_2->setToolTip(QApplication::translate("Dialog", "Delete bookmark", 0));
149#endif // QT_NO_TOOLTIP
150 pushButton_2->setText(QApplication::translate("Dialog", "Del", 0));
151#ifndef QT_NO_TOOLTIP
152 pushButton_3->setToolTip(QApplication::translate("Dialog", "Rename bookmark", 0));
153#endif // QT_NO_TOOLTIP
154 pushButton_3->setText(QApplication::translate("Dialog", "Ren", 0));
155#ifndef QT_NO_TOOLTIP
156 pushButton->setToolTip(QApplication::translate("Dialog", "Sort bookmarks", 0));
157#endif // QT_NO_TOOLTIP
158 pushButton->setText(QApplication::translate("Dialog", "Sort", 0));
159 label->setText(QApplication::translate("Dialog", "Bookmarks", 0));
160 label_2->setText(QApplication::translate("Dialog", "Elements [S mm]", 0));
161 } // retranslateUi
QPushButton * pushButton_2
QPushButton * pushButton_3
QPushButton * pushButton

Referenced by setupUi().

◆ setupUi()

void Ui_Dialog::setupUi ( QDialog * Dialog)
inline

Definition at line 46 of file ui_OIQtListsDialog.h.

47 {
48 if (Dialog->objectName().isEmpty())
49 Dialog->setObjectName(QStringLiteral("Dialog"));
50 Dialog->resize(224, 554);
51 QFont font;
52 font.setPointSize(12);
53 Dialog->setFont(font);
54 horizontalLayoutWidget = new QWidget(Dialog);
55 horizontalLayoutWidget->setObjectName(QStringLiteral("horizontalLayoutWidget"));
56 horizontalLayoutWidget->setGeometry(QRect(10, 260, 201, 26));
58 horizontalLayout->setSpacing(8);
59 horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
60 horizontalLayout->setSizeConstraint(QLayout::SetMaximumSize);
61 horizontalLayout->setContentsMargins(0, 0, 0, 0);
62 pushButton_2 = new QPushButton(horizontalLayoutWidget);
63 pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
64 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
65 sizePolicy.setHorizontalStretch(0);
66 sizePolicy.setVerticalStretch(0);
67 sizePolicy.setHeightForWidth(pushButton_2->sizePolicy().hasHeightForWidth());
68 pushButton_2->setSizePolicy(sizePolicy);
69 pushButton_2->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
70
72
73 pushButton_3 = new QPushButton(horizontalLayoutWidget);
74 pushButton_3->setObjectName(QStringLiteral("pushButton_3"));
75 sizePolicy.setHeightForWidth(pushButton_3->sizePolicy().hasHeightForWidth());
76 pushButton_3->setSizePolicy(sizePolicy);
77 pushButton_3->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
78
80
81 pushButton = new QPushButton(horizontalLayoutWidget);
82 pushButton->setObjectName(QStringLiteral("pushButton"));
83 sizePolicy.setHeightForWidth(pushButton->sizePolicy().hasHeightForWidth());
84 pushButton->setSizePolicy(sizePolicy);
85 pushButton->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
86
87 horizontalLayout->addWidget(pushButton);
88
89 layoutWidget = new QWidget(Dialog);
90 layoutWidget->setObjectName(QStringLiteral("layoutWidget"));
91 layoutWidget->setGeometry(QRect(10, 10, 201, 241));
92 formLayout = new QFormLayout(layoutWidget);
93 formLayout->setObjectName(QStringLiteral("formLayout"));
94 formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
95 formLayout->setContentsMargins(0, 0, 0, 0);
96 label = new QLabel(layoutWidget);
97 label->setObjectName(QStringLiteral("label"));
98 label->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
99
100 formLayout->setWidget(0, QFormLayout::LabelRole, label);
101
102 lineEdit = new QLineEdit(layoutWidget);
103 lineEdit->setObjectName(QStringLiteral("lineEdit"));
104 lineEdit->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
105 lineEdit->setReadOnly(true);
106
107 formLayout->setWidget(1, QFormLayout::SpanningRole, lineEdit);
108
109 listWidget = new QListWidget(layoutWidget);
110 listWidget->setObjectName(QStringLiteral("listWidget"));
111 listWidget->setFont(font);
112
113 formLayout->setWidget(3, QFormLayout::SpanningRole, listWidget);
114
115 layoutWidget1 = new QWidget(Dialog);
116 layoutWidget1->setObjectName(QStringLiteral("layoutWidget1"));
117 layoutWidget1->setGeometry(QRect(10, 300, 201, 241));
118 formLayout_2 = new QFormLayout(layoutWidget1);
119 formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
120 formLayout_2->setContentsMargins(0, 0, 0, 0);
121 label_2 = new QLabel(layoutWidget1);
122 label_2->setObjectName(QStringLiteral("label_2"));
123 label_2->setStyleSheet(QStringLiteral("font: 12pt \"Sans Serif\";"));
124
125 formLayout_2->setWidget(0, QFormLayout::LabelRole, label_2);
126
127 listWidget1 = new QListWidget(layoutWidget1);
128 listWidget1->setObjectName(QStringLiteral("listWidget1"));
129 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
130 sizePolicy1.setHorizontalStretch(1);
131 sizePolicy1.setVerticalStretch(1);
132 sizePolicy1.setHeightForWidth(listWidget1->sizePolicy().hasHeightForWidth());
133 listWidget1->setSizePolicy(sizePolicy1);
134 listWidget1->setFont(font);
135
136 formLayout_2->setWidget(1, QFormLayout::SpanningRole, listWidget1);
137
138
139 retranslateUi(Dialog);
140
141 QMetaObject::connectSlotsByName(Dialog);
142 } // setupUi
QFormLayout * formLayout_2
QLineEdit * lineEdit
QWidget * layoutWidget1
QWidget * horizontalLayoutWidget
QListWidget * listWidget
QListWidget * listWidget1
QFormLayout * formLayout
QHBoxLayout * horizontalLayout
QWidget * layoutWidget
void retranslateUi(QDialog *Dialog)

Referenced by G4OpenInventorQtExaminerViewer::buildWidget().

Member Data Documentation

◆ formLayout

QFormLayout* Ui_Dialog::formLayout

Definition at line 37 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ formLayout_2

QFormLayout* Ui_Dialog::formLayout_2

Definition at line 42 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ horizontalLayout

QHBoxLayout* Ui_Dialog::horizontalLayout

Definition at line 32 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ horizontalLayoutWidget

QWidget* Ui_Dialog::horizontalLayoutWidget

Definition at line 31 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ label

QLabel* Ui_Dialog::label

Definition at line 38 of file ui_OIQtListsDialog.h.

Referenced by retranslateUi(), and setupUi().

◆ label_2

QLabel* Ui_Dialog::label_2

Definition at line 43 of file ui_OIQtListsDialog.h.

Referenced by retranslateUi(), and setupUi().

◆ layoutWidget

QWidget* Ui_Dialog::layoutWidget

Definition at line 36 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ layoutWidget1

QWidget* Ui_Dialog::layoutWidget1

Definition at line 41 of file ui_OIQtListsDialog.h.

Referenced by setupUi().

◆ lineEdit

QLineEdit* Ui_Dialog::lineEdit

◆ listWidget

◆ listWidget1

QListWidget* Ui_Dialog::listWidget1

◆ pushButton

QPushButton* Ui_Dialog::pushButton

◆ pushButton_2

QPushButton* Ui_Dialog::pushButton_2

◆ pushButton_3

QPushButton* Ui_Dialog::pushButton_3

The documentation for this class was generated from the following file: