9 #ifndef UI_PROFILECOMMENTDISPLAY_H 10 #define UI_PROFILECOMMENTDISPLAY_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/QHeaderView> 20 #include <QtWidgets/QListView> 21 #include <QtWidgets/QVBoxLayout> 33 void setupUi(QDialog *profileCommentDisplay)
35 if (profileCommentDisplay->objectName().isEmpty())
36 profileCommentDisplay->setObjectName(QStringLiteral(
"profileCommentDisplay"));
37 profileCommentDisplay->resize(823, 705);
38 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
39 sizePolicy.setHorizontalStretch(0);
40 sizePolicy.setVerticalStretch(0);
41 sizePolicy.setHeightForWidth(profileCommentDisplay->sizePolicy().hasHeightForWidth());
42 profileCommentDisplay->setSizePolicy(sizePolicy);
43 profileCommentDisplay->setMinimumSize(QSize(0, 0));
44 profileCommentDisplay->setSizeGripEnabled(
true);
45 gridLayout =
new QGridLayout(profileCommentDisplay);
46 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
47 verticalLayout =
new QVBoxLayout();
48 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
49 commentListView =
new QListView(profileCommentDisplay);
50 commentListView->setObjectName(QStringLiteral(
"commentListView"));
52 verticalLayout->addWidget(commentListView);
54 bottomButtonsBox =
new QDialogButtonBox(profileCommentDisplay);
55 bottomButtonsBox->setObjectName(QStringLiteral(
"bottomButtonsBox"));
56 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
57 sizePolicy1.setHorizontalStretch(0);
58 sizePolicy1.setVerticalStretch(0);
59 sizePolicy1.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
60 bottomButtonsBox->setSizePolicy(sizePolicy1);
61 bottomButtonsBox->setStandardButtons(QDialogButtonBox::Close);
62 bottomButtonsBox->setCenterButtons(
false);
64 verticalLayout->addWidget(bottomButtonsBox);
67 gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
72 QMetaObject::connectSlotsByName(profileCommentDisplay);
77 profileCommentDisplay->setWindowTitle(QApplication::translate(
"profileCommentDisplay",
"Comments regarding operator", Q_NULLPTR));
88 #endif // UI_PROFILECOMMENTDISPLAY_H Definition: ui_aboutDialog.h:161