Classified ads
ui_newPrivMsg.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'newPrivMsg.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.9.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_NEWPRIVMSG_H
10 #define UI_NEWPRIVMSG_H
11 
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>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QGridLayout *gridLayout;
33  QVBoxLayout *verticalLayout;
34  QHBoxLayout *subjectLayout;
35  QLabel *subjectLabel;
36  QLineEdit *subjectEdit;
37  QHBoxLayout *recipientLayout;
38  QLabel *recipientLabel;
39  QLineEdit *recipientEdit;
40  QHBoxLayout *toolBoxLayoutUpper;
41  QHBoxLayout *toolBoxLayoutLower;
42  QTextEdit *messageEdit;
43  QHBoxLayout *attachmentLayout;
46  QPushButton *attachButton;
47  QDialogButtonBox *bottomButtonsBox;
48 
49  void setupUi(QDialog *newPrivMsgDialog)
50  {
51  if (newPrivMsgDialog->objectName().isEmpty())
52  newPrivMsgDialog->setObjectName(QStringLiteral("newPrivMsgDialog"));
53  newPrivMsgDialog->resize(800, 600);
54  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
55  sizePolicy.setHorizontalStretch(0);
56  sizePolicy.setVerticalStretch(0);
57  sizePolicy.setHeightForWidth(newPrivMsgDialog->sizePolicy().hasHeightForWidth());
58  newPrivMsgDialog->setSizePolicy(sizePolicy);
59  newPrivMsgDialog->setMinimumSize(QSize(0, 0));
60  newPrivMsgDialog->setSizeGripEnabled(true);
61  gridLayout = new QGridLayout(newPrivMsgDialog);
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(newPrivMsgDialog);
68  subjectLabel->setObjectName(QStringLiteral("subjectLabel"));
69 
70  subjectLayout->addWidget(subjectLabel);
71 
72  subjectEdit = new QLineEdit(newPrivMsgDialog);
73  subjectEdit->setObjectName(QStringLiteral("subjectEdit"));
74 
75  subjectLayout->addWidget(subjectEdit);
76 
77 
78  verticalLayout->addLayout(subjectLayout);
79 
80  recipientLayout = new QHBoxLayout();
81  recipientLayout->setObjectName(QStringLiteral("recipientLayout"));
82  recipientLabel = new QLabel(newPrivMsgDialog);
83  recipientLabel->setObjectName(QStringLiteral("recipientLabel"));
84 
85  recipientLayout->addWidget(recipientLabel);
86 
87  recipientEdit = new QLineEdit(newPrivMsgDialog);
88  recipientEdit->setObjectName(QStringLiteral("recipientEdit"));
89 
90  recipientLayout->addWidget(recipientEdit);
91 
92 
93  verticalLayout->addLayout(recipientLayout);
94 
95  toolBoxLayoutUpper = new QHBoxLayout();
96  toolBoxLayoutUpper->setObjectName(QStringLiteral("toolBoxLayoutUpper"));
97  toolBoxLayoutUpper->setContentsMargins(-1, 0, -1, -1);
98 
99  verticalLayout->addLayout(toolBoxLayoutUpper);
100 
101  toolBoxLayoutLower = new QHBoxLayout();
102  toolBoxLayoutLower->setObjectName(QStringLiteral("toolBoxLayoutLower"));
103 
104  verticalLayout->addLayout(toolBoxLayoutLower);
105 
106  messageEdit = new QTextEdit(newPrivMsgDialog);
107  messageEdit->setObjectName(QStringLiteral("messageEdit"));
108 
109  verticalLayout->addWidget(messageEdit);
110 
111  attachmentLayout = new QHBoxLayout();
112  attachmentLayout->setObjectName(QStringLiteral("attachmentLayout"));
113  attachmentLayout->setContentsMargins(-1, 0, -1, -1);
114  attachmentsLabel = new QLabel(newPrivMsgDialog);
115  attachmentsLabel->setObjectName(QStringLiteral("attachmentsLabel"));
116 
117  attachmentLayout->addWidget(attachmentsLabel);
118 
119  attachmentsListLabel = new QLabel(newPrivMsgDialog);
120  attachmentsListLabel->setObjectName(QStringLiteral("attachmentsListLabel"));
121  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
122  sizePolicy1.setHorizontalStretch(0);
123  sizePolicy1.setVerticalStretch(0);
124  sizePolicy1.setHeightForWidth(attachmentsListLabel->sizePolicy().hasHeightForWidth());
125  attachmentsListLabel->setSizePolicy(sizePolicy1);
126 
127  attachmentLayout->addWidget(attachmentsListLabel);
128 
129  attachButton = new QPushButton(newPrivMsgDialog);
130  attachButton->setObjectName(QStringLiteral("attachButton"));
131 
132  attachmentLayout->addWidget(attachButton);
133 
134 
135  verticalLayout->addLayout(attachmentLayout);
136 
137  bottomButtonsBox = new QDialogButtonBox(newPrivMsgDialog);
138  bottomButtonsBox->setObjectName(QStringLiteral("bottomButtonsBox"));
139  QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
140  sizePolicy2.setHorizontalStretch(0);
141  sizePolicy2.setVerticalStretch(0);
142  sizePolicy2.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
143  bottomButtonsBox->setSizePolicy(sizePolicy2);
144  bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
145 
146  verticalLayout->addWidget(bottomButtonsBox);
147 
148 
149  gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
150 
151 
152  retranslateUi(newPrivMsgDialog);
153 
154  QMetaObject::connectSlotsByName(newPrivMsgDialog);
155  } // setupUi
156 
157  void retranslateUi(QDialog *newPrivMsgDialog)
158  {
159  newPrivMsgDialog->setWindowTitle(QApplication::translate("newPrivMsgDialog", "Send a private message", Q_NULLPTR));
160  subjectLabel->setText(QApplication::translate("newPrivMsgDialog", "Subject", Q_NULLPTR));
161  recipientLabel->setText(QApplication::translate("newPrivMsgDialog", "Recipient", Q_NULLPTR));
162  attachmentsLabel->setText(QApplication::translate("newPrivMsgDialog", "Attachments: ", Q_NULLPTR));
163  attachmentsListLabel->setText(QString());
164  attachButton->setText(QApplication::translate("newPrivMsgDialog", "Attach", Q_NULLPTR));
165  } // retranslateUi
166 
167 };
168 
169 namespace Ui {
171 } // namespace Ui
172 
173 QT_END_NAMESPACE
174 
175 #endif // UI_NEWPRIVMSG_H
QGridLayout * gridLayout
Definition: ui_newPrivMsg.h:32
QLineEdit * recipientEdit
Definition: ui_newPrivMsg.h:39
Definition: ui_newPrivMsg.h:170
QDialogButtonBox * bottomButtonsBox
Definition: ui_newPrivMsg.h:47
QHBoxLayout * toolBoxLayoutLower
Definition: ui_newPrivMsg.h:41
Definition: ui_aboutDialog.h:161
QHBoxLayout * toolBoxLayoutUpper
Definition: ui_newPrivMsg.h:40
Definition: ui_newPrivMsg.h:29
void retranslateUi(QDialog *newPrivMsgDialog)
Definition: ui_newPrivMsg.h:157
QVBoxLayout * verticalLayout
Definition: ui_newPrivMsg.h:33
QLabel * subjectLabel
Definition: ui_newPrivMsg.h:35
QTextEdit * messageEdit
Definition: ui_newPrivMsg.h:42
QLabel * attachmentsListLabel
Definition: ui_newPrivMsg.h:45
QHBoxLayout * subjectLayout
Definition: ui_newPrivMsg.h:34
QLabel * attachmentsLabel
Definition: ui_newPrivMsg.h:44
QHBoxLayout * recipientLayout
Definition: ui_newPrivMsg.h:37
QPushButton * attachButton
Definition: ui_newPrivMsg.h:46
QLineEdit * subjectEdit
Definition: ui_newPrivMsg.h:36
QHBoxLayout * attachmentLayout
Definition: ui_newPrivMsg.h:43
void setupUi(QDialog *newPrivMsgDialog)
Definition: ui_newPrivMsg.h:49
QLabel * recipientLabel
Definition: ui_newPrivMsg.h:38