9 #ifndef UI_NEWPROFILECOMMENT_H 10 #define UI_NEWPROFILECOMMENT_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/QLineEdit> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QTextEdit> 25 #include <QtWidgets/QVBoxLayout> 49 void setupUi(QDialog *newProfileCommentDialog)
51 if (newProfileCommentDialog->objectName().isEmpty())
52 newProfileCommentDialog->setObjectName(QStringLiteral(
"newProfileCommentDialog"));
53 newProfileCommentDialog->resize(823, 705);
54 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
55 sizePolicy.setHorizontalStretch(0);
56 sizePolicy.setVerticalStretch(0);
57 sizePolicy.setHeightForWidth(newProfileCommentDialog->sizePolicy().hasHeightForWidth());
58 newProfileCommentDialog->setSizePolicy(sizePolicy);
59 newProfileCommentDialog->setMinimumSize(QSize(0, 0));
60 newProfileCommentDialog->setSizeGripEnabled(
true);
61 gridLayout =
new QGridLayout(newProfileCommentDialog);
62 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
63 verticalLayout =
new QVBoxLayout();
64 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
65 subjectLayout =
new QHBoxLayout();
66 subjectLayout->setObjectName(QStringLiteral(
"subjectLayout"));
67 subjectLabel =
new QLabel(newProfileCommentDialog);
68 subjectLabel->setObjectName(QStringLiteral(
"subjectLabel"));
70 subjectLayout->addWidget(subjectLabel);
72 subjectEdit =
new QLineEdit(newProfileCommentDialog);
73 subjectEdit->setObjectName(QStringLiteral(
"subjectEdit"));
75 subjectLayout->addWidget(subjectEdit);
78 verticalLayout->addLayout(subjectLayout);
80 recipientLayout =
new QHBoxLayout();
81 recipientLayout->setObjectName(QStringLiteral(
"recipientLayout"));
82 commentedProfileLabel =
new QLabel(newProfileCommentDialog);
83 commentedProfileLabel->setObjectName(QStringLiteral(
"commentedProfileLabel"));
85 recipientLayout->addWidget(commentedProfileLabel);
87 commentedProfileEdit =
new QLineEdit(newProfileCommentDialog);
88 commentedProfileEdit->setObjectName(QStringLiteral(
"commentedProfileEdit"));
90 recipientLayout->addWidget(commentedProfileEdit);
93 verticalLayout->addLayout(recipientLayout);
95 toolBoxLayoutUpper =
new QHBoxLayout();
96 toolBoxLayoutUpper->setObjectName(QStringLiteral(
"toolBoxLayoutUpper"));
97 toolBoxLayoutUpper->setContentsMargins(-1, 0, -1, -1);
99 verticalLayout->addLayout(toolBoxLayoutUpper);
101 toolBoxLayoutLower =
new QHBoxLayout();
102 toolBoxLayoutLower->setObjectName(QStringLiteral(
"toolBoxLayoutLower"));
104 verticalLayout->addLayout(toolBoxLayoutLower);
106 messageEdit =
new QTextEdit(newProfileCommentDialog);
107 messageEdit->setObjectName(QStringLiteral(
"messageEdit"));
109 verticalLayout->addWidget(messageEdit);
111 attachmentLayout =
new QHBoxLayout();
112 attachmentLayout->setObjectName(QStringLiteral(
"attachmentLayout"));
113 attachmentLayout->setContentsMargins(-1, 0, -1, -1);
114 attachmentsLabel =
new QLabel(newProfileCommentDialog);
115 attachmentsLabel->setObjectName(QStringLiteral(
"attachmentsLabel"));
116 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
117 sizePolicy1.setHorizontalStretch(0);
118 sizePolicy1.setVerticalStretch(0);
119 sizePolicy1.setHeightForWidth(attachmentsLabel->sizePolicy().hasHeightForWidth());
120 attachmentsLabel->setSizePolicy(sizePolicy1);
122 attachmentLayout->addWidget(attachmentsLabel);
124 attahcmentsListLabel =
new QLabel(newProfileCommentDialog);
125 attahcmentsListLabel->setObjectName(QStringLiteral(
"attahcmentsListLabel"));
126 QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
127 sizePolicy2.setHorizontalStretch(0);
128 sizePolicy2.setVerticalStretch(0);
129 sizePolicy2.setHeightForWidth(attahcmentsListLabel->sizePolicy().hasHeightForWidth());
130 attahcmentsListLabel->setSizePolicy(sizePolicy2);
132 attachmentLayout->addWidget(attahcmentsListLabel);
134 attachButton =
new QPushButton(newProfileCommentDialog);
135 attachButton->setObjectName(QStringLiteral(
"attachButton"));
137 attachmentLayout->addWidget(attachButton);
140 verticalLayout->addLayout(attachmentLayout);
142 bottomButtonsBox =
new QDialogButtonBox(newProfileCommentDialog);
143 bottomButtonsBox->setObjectName(QStringLiteral(
"bottomButtonsBox"));
144 QSizePolicy sizePolicy3(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
145 sizePolicy3.setHorizontalStretch(0);
146 sizePolicy3.setVerticalStretch(0);
147 sizePolicy3.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
148 bottomButtonsBox->setSizePolicy(sizePolicy3);
149 bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
151 verticalLayout->addWidget(bottomButtonsBox);
154 gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
159 QMetaObject::connectSlotsByName(newProfileCommentDialog);
164 newProfileCommentDialog->setWindowTitle(QApplication::translate(
"newProfileCommentDialog",
"Comment a operators profile", Q_NULLPTR));
165 subjectLabel->setText(QApplication::translate(
"newProfileCommentDialog",
"Subject", Q_NULLPTR));
166 commentedProfileLabel->setText(QApplication::translate(
"newProfileCommentDialog",
"Commented profile", Q_NULLPTR));
167 attachmentsLabel->setText(QApplication::translate(
"newProfileCommentDialog",
"Attachments:", Q_NULLPTR));
168 attahcmentsListLabel->setText(QString());
169 attachButton->setText(QApplication::translate(
"newProfileCommentDialog",
"Attach", Q_NULLPTR));
180 #endif // UI_NEWPROFILECOMMENT_H
Definition: ui_aboutDialog.h:161