Classified ads
ui_newTextDocument.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'newTextDocument.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_NEWTEXTDOCUMENT_H
10 #define UI_NEWTEXTDOCUMENT_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;
36  QLineEdit *titleEdit;
37  QHBoxLayout *toolBoxLayoutUpper;
38  QHBoxLayout *toolBoxLayoutLower;
39  QTextEdit *documentEdit;
40  QHBoxLayout *attachmentLayout;
43  QPushButton *attachButton;
44  QDialogButtonBox *bottomButtonsBox;
45 
46  void setupUi(QDialog *newTextDocumentDialog)
47  {
48  if (newTextDocumentDialog->objectName().isEmpty())
49  newTextDocumentDialog->setObjectName(QStringLiteral("newTextDocumentDialog"));
50  newTextDocumentDialog->resize(823, 705);
51  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
52  sizePolicy.setHorizontalStretch(0);
53  sizePolicy.setVerticalStretch(0);
54  sizePolicy.setHeightForWidth(newTextDocumentDialog->sizePolicy().hasHeightForWidth());
55  newTextDocumentDialog->setSizePolicy(sizePolicy);
56  newTextDocumentDialog->setMinimumSize(QSize(0, 0));
57  newTextDocumentDialog->setSizeGripEnabled(true);
58  gridLayout = new QGridLayout(newTextDocumentDialog);
59  gridLayout->setObjectName(QStringLiteral("gridLayout"));
60  verticalLayout = new QVBoxLayout();
61  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
62  subjectLayout = new QHBoxLayout();
63  subjectLayout->setObjectName(QStringLiteral("subjectLayout"));
64  documentTitleLabel = new QLabel(newTextDocumentDialog);
65  documentTitleLabel->setObjectName(QStringLiteral("documentTitleLabel"));
66 
67  subjectLayout->addWidget(documentTitleLabel);
68 
69  titleEdit = new QLineEdit(newTextDocumentDialog);
70  titleEdit->setObjectName(QStringLiteral("titleEdit"));
71 
72  subjectLayout->addWidget(titleEdit);
73 
74 
75  verticalLayout->addLayout(subjectLayout);
76 
77  toolBoxLayoutUpper = new QHBoxLayout();
78  toolBoxLayoutUpper->setObjectName(QStringLiteral("toolBoxLayoutUpper"));
79  toolBoxLayoutUpper->setContentsMargins(-1, 0, -1, -1);
80 
81  verticalLayout->addLayout(toolBoxLayoutUpper);
82 
83  toolBoxLayoutLower = new QHBoxLayout();
84  toolBoxLayoutLower->setObjectName(QStringLiteral("toolBoxLayoutLower"));
85 
86  verticalLayout->addLayout(toolBoxLayoutLower);
87 
88  documentEdit = new QTextEdit(newTextDocumentDialog);
89  documentEdit->setObjectName(QStringLiteral("documentEdit"));
90 
91  verticalLayout->addWidget(documentEdit);
92 
93  attachmentLayout = new QHBoxLayout();
94  attachmentLayout->setObjectName(QStringLiteral("attachmentLayout"));
95  attachmentLayout->setContentsMargins(-1, 0, -1, -1);
96  attachmentsLabel = new QLabel(newTextDocumentDialog);
97  attachmentsLabel->setObjectName(QStringLiteral("attachmentsLabel"));
98  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
99  sizePolicy1.setHorizontalStretch(0);
100  sizePolicy1.setVerticalStretch(0);
101  sizePolicy1.setHeightForWidth(attachmentsLabel->sizePolicy().hasHeightForWidth());
102  attachmentsLabel->setSizePolicy(sizePolicy1);
103 
104  attachmentLayout->addWidget(attachmentsLabel);
105 
106  attahcmentsListLabel = new QLabel(newTextDocumentDialog);
107  attahcmentsListLabel->setObjectName(QStringLiteral("attahcmentsListLabel"));
108  QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
109  sizePolicy2.setHorizontalStretch(0);
110  sizePolicy2.setVerticalStretch(0);
111  sizePolicy2.setHeightForWidth(attahcmentsListLabel->sizePolicy().hasHeightForWidth());
112  attahcmentsListLabel->setSizePolicy(sizePolicy2);
113 
114  attachmentLayout->addWidget(attahcmentsListLabel);
115 
116  attachButton = new QPushButton(newTextDocumentDialog);
117  attachButton->setObjectName(QStringLiteral("attachButton"));
118 
119  attachmentLayout->addWidget(attachButton);
120 
121 
122  verticalLayout->addLayout(attachmentLayout);
123 
124  bottomButtonsBox = new QDialogButtonBox(newTextDocumentDialog);
125  bottomButtonsBox->setObjectName(QStringLiteral("bottomButtonsBox"));
126  QSizePolicy sizePolicy3(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
127  sizePolicy3.setHorizontalStretch(0);
128  sizePolicy3.setVerticalStretch(0);
129  sizePolicy3.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
130  bottomButtonsBox->setSizePolicy(sizePolicy3);
131  bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
132 
133  verticalLayout->addWidget(bottomButtonsBox);
134 
135 
136  gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
137 
138 
139  retranslateUi(newTextDocumentDialog);
140  QObject::connect(bottomButtonsBox, SIGNAL(rejected()), newTextDocumentDialog, SLOT(reject()));
141 
142  QMetaObject::connectSlotsByName(newTextDocumentDialog);
143  } // setupUi
144 
145  void retranslateUi(QDialog *newTextDocumentDialog)
146  {
147  newTextDocumentDialog->setWindowTitle(QApplication::translate("newTextDocumentDialog", "Edit and publish a new text document", Q_NULLPTR));
148  documentTitleLabel->setText(QApplication::translate("newTextDocumentDialog", "Document title", Q_NULLPTR));
149  attachmentsLabel->setText(QApplication::translate("newTextDocumentDialog", "Attachments:", Q_NULLPTR));
150  attahcmentsListLabel->setText(QString());
151  attachButton->setText(QApplication::translate("newTextDocumentDialog", "Attach", Q_NULLPTR));
152  } // retranslateUi
153 
154 };
155 
156 namespace Ui {
158 } // namespace Ui
159 
160 QT_END_NAMESPACE
161 
162 #endif // UI_NEWTEXTDOCUMENT_H
QLineEdit * titleEdit
Definition: ui_newTextDocument.h:36
QLabel * attachmentsLabel
Definition: ui_newTextDocument.h:41
QDialogButtonBox * bottomButtonsBox
Definition: ui_newTextDocument.h:44
void retranslateUi(QDialog *newTextDocumentDialog)
Definition: ui_newTextDocument.h:145
Definition: ui_aboutDialog.h:161
Definition: ui_newTextDocument.h:29
QHBoxLayout * attachmentLayout
Definition: ui_newTextDocument.h:40
QPushButton * attachButton
Definition: ui_newTextDocument.h:43
QTextEdit * documentEdit
Definition: ui_newTextDocument.h:39
QGridLayout * gridLayout
Definition: ui_newTextDocument.h:32
Definition: ui_newTextDocument.h:157
QHBoxLayout * toolBoxLayoutLower
Definition: ui_newTextDocument.h:38
QLabel * documentTitleLabel
Definition: ui_newTextDocument.h:35
QVBoxLayout * verticalLayout
Definition: ui_newTextDocument.h:33
void setupUi(QDialog *newTextDocumentDialog)
Definition: ui_newTextDocument.h:46
QHBoxLayout * toolBoxLayoutUpper
Definition: ui_newTextDocument.h:37
QHBoxLayout * subjectLayout
Definition: ui_newTextDocument.h:34
QLabel * attahcmentsListLabel
Definition: ui_newTextDocument.h:42