Classified ads
ui_newClassifiedAd.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'newClassifiedAd.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_NEWCLASSIFIEDAD_H
10 #define UI_NEWCLASSIFIEDAD_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QComboBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QDialogButtonBox>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QLineEdit>
24 #include <QtWidgets/QPushButton>
25 #include <QtWidgets/QTextEdit>
26 #include <QtWidgets/QVBoxLayout>
27 
28 QT_BEGIN_NAMESPACE
29 
31 {
32 public:
33  QGridLayout *gridLayout;
34  QVBoxLayout *verticalLayout;
35  QLabel *aboutLabel;
36  QHBoxLayout *groupSelectionLayout;
37  QComboBox *caAboutComboBox;
39  QComboBox *caRegardingCombobox;
40  QLabel *caWhereLabel;
41  QComboBox *caWhereComboBox;
42  QHBoxLayout *subjectLayout;
43  QLabel *subjectLabel;
44  QLineEdit *subjectEdit;
45  QHBoxLayout *toolBoxForActionsUpper;
46  QHBoxLayout *toolBoxForActionsLower;
47  QTextEdit *adEdit;
48  QHBoxLayout *attachmentLayout;
49  QLabel *attachmentLabel;
51  QPushButton *addAttachmentBtn;
52  QDialogButtonBox *bottomButtonsBox;
53 
54  void setupUi(QDialog *newCaDialog)
55  {
56  if (newCaDialog->objectName().isEmpty())
57  newCaDialog->setObjectName(QStringLiteral("newCaDialog"));
58  newCaDialog->resize(804, 687);
59  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
60  sizePolicy.setHorizontalStretch(0);
61  sizePolicy.setVerticalStretch(0);
62  sizePolicy.setHeightForWidth(newCaDialog->sizePolicy().hasHeightForWidth());
63  newCaDialog->setSizePolicy(sizePolicy);
64  newCaDialog->setMinimumSize(QSize(0, 0));
65  newCaDialog->setSizeGripEnabled(false);
66  gridLayout = new QGridLayout(newCaDialog);
67  gridLayout->setObjectName(QStringLiteral("gridLayout"));
68  verticalLayout = new QVBoxLayout();
69  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
70  verticalLayout->setSizeConstraint(QLayout::SetMinAndMaxSize);
71  aboutLabel = new QLabel(newCaDialog);
72  aboutLabel->setObjectName(QStringLiteral("aboutLabel"));
73  QFont font;
74  font.setPointSize(14);
75  font.setBold(true);
76  font.setWeight(75);
77  aboutLabel->setFont(font);
78 
79  verticalLayout->addWidget(aboutLabel);
80 
81  groupSelectionLayout = new QHBoxLayout();
82  groupSelectionLayout->setObjectName(QStringLiteral("groupSelectionLayout"));
83  caAboutComboBox = new QComboBox(newCaDialog);
84  caAboutComboBox->setObjectName(QStringLiteral("caAboutComboBox"));
85 
86  groupSelectionLayout->addWidget(caAboutComboBox);
87 
88  caRegardingLabel = new QLabel(newCaDialog);
89  caRegardingLabel->setObjectName(QStringLiteral("caRegardingLabel"));
90  QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
91  sizePolicy1.setHorizontalStretch(0);
92  sizePolicy1.setVerticalStretch(0);
93  sizePolicy1.setHeightForWidth(caRegardingLabel->sizePolicy().hasHeightForWidth());
94  caRegardingLabel->setSizePolicy(sizePolicy1);
95 
96  groupSelectionLayout->addWidget(caRegardingLabel);
97 
98  caRegardingCombobox = new QComboBox(newCaDialog);
99  caRegardingCombobox->setObjectName(QStringLiteral("caRegardingCombobox"));
100 
101  groupSelectionLayout->addWidget(caRegardingCombobox);
102 
103  caWhereLabel = new QLabel(newCaDialog);
104  caWhereLabel->setObjectName(QStringLiteral("caWhereLabel"));
105  sizePolicy1.setHeightForWidth(caWhereLabel->sizePolicy().hasHeightForWidth());
106  caWhereLabel->setSizePolicy(sizePolicy1);
107 
108  groupSelectionLayout->addWidget(caWhereLabel);
109 
110  caWhereComboBox = new QComboBox(newCaDialog);
111  caWhereComboBox->setObjectName(QStringLiteral("caWhereComboBox"));
112 
113  groupSelectionLayout->addWidget(caWhereComboBox);
114 
115  groupSelectionLayout->setStretch(0, 1);
116  groupSelectionLayout->setStretch(2, 1);
117  groupSelectionLayout->setStretch(4, 1);
118 
119  verticalLayout->addLayout(groupSelectionLayout);
120 
121  subjectLayout = new QHBoxLayout();
122  subjectLayout->setObjectName(QStringLiteral("subjectLayout"));
123  subjectLabel = new QLabel(newCaDialog);
124  subjectLabel->setObjectName(QStringLiteral("subjectLabel"));
125 
126  subjectLayout->addWidget(subjectLabel);
127 
128  subjectEdit = new QLineEdit(newCaDialog);
129  subjectEdit->setObjectName(QStringLiteral("subjectEdit"));
130 
131  subjectLayout->addWidget(subjectEdit);
132 
133  subjectLayout->setStretch(1, 1);
134 
135  verticalLayout->addLayout(subjectLayout);
136 
137  toolBoxForActionsUpper = new QHBoxLayout();
138  toolBoxForActionsUpper->setObjectName(QStringLiteral("toolBoxForActionsUpper"));
139  toolBoxForActionsUpper->setSizeConstraint(QLayout::SetDefaultConstraint);
140  toolBoxForActionsUpper->setContentsMargins(-1, 0, -1, -1);
141 
142  verticalLayout->addLayout(toolBoxForActionsUpper);
143 
144  toolBoxForActionsLower = new QHBoxLayout();
145  toolBoxForActionsLower->setObjectName(QStringLiteral("toolBoxForActionsLower"));
146  toolBoxForActionsLower->setContentsMargins(-1, 0, -1, -1);
147 
148  verticalLayout->addLayout(toolBoxForActionsLower);
149 
150  adEdit = new QTextEdit(newCaDialog);
151  adEdit->setObjectName(QStringLiteral("adEdit"));
152 
153  verticalLayout->addWidget(adEdit);
154 
155  attachmentLayout = new QHBoxLayout();
156  attachmentLayout->setObjectName(QStringLiteral("attachmentLayout"));
157  attachmentLabel = new QLabel(newCaDialog);
158  attachmentLabel->setObjectName(QStringLiteral("attachmentLabel"));
159 
160  attachmentLayout->addWidget(attachmentLabel);
161 
162  attachmentListLabel = new QLabel(newCaDialog);
163  attachmentListLabel->setObjectName(QStringLiteral("attachmentListLabel"));
164  QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
165  sizePolicy2.setHorizontalStretch(0);
166  sizePolicy2.setVerticalStretch(0);
167  sizePolicy2.setHeightForWidth(attachmentListLabel->sizePolicy().hasHeightForWidth());
168  attachmentListLabel->setSizePolicy(sizePolicy2);
169 
170  attachmentLayout->addWidget(attachmentListLabel);
171 
172  addAttachmentBtn = new QPushButton(newCaDialog);
173  addAttachmentBtn->setObjectName(QStringLiteral("addAttachmentBtn"));
174 
175  attachmentLayout->addWidget(addAttachmentBtn);
176 
177 
178  verticalLayout->addLayout(attachmentLayout);
179 
180  bottomButtonsBox = new QDialogButtonBox(newCaDialog);
181  bottomButtonsBox->setObjectName(QStringLiteral("bottomButtonsBox"));
182  bottomButtonsBox->setOrientation(Qt::Horizontal);
183  bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
184 
185  verticalLayout->addWidget(bottomButtonsBox);
186 
187 
188  gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
189 
190 
191  retranslateUi(newCaDialog);
192  QObject::connect(bottomButtonsBox, SIGNAL(accepted()), newCaDialog, SLOT(accept()));
193  QObject::connect(bottomButtonsBox, SIGNAL(rejected()), newCaDialog, SLOT(reject()));
194 
195  QMetaObject::connectSlotsByName(newCaDialog);
196  } // setupUi
197 
198  void retranslateUi(QDialog *newCaDialog)
199  {
200  newCaDialog->setWindowTitle(QApplication::translate("newCaDialog", "Post a new classified ad", Q_NULLPTR));
201  aboutLabel->setText(QApplication::translate("newCaDialog", "About", Q_NULLPTR));
202  caRegardingLabel->setText(QApplication::translate("newCaDialog", "of", Q_NULLPTR));
203  caWhereLabel->setText(QApplication::translate("newCaDialog", "in", Q_NULLPTR));
204  subjectLabel->setText(QApplication::translate("newCaDialog", "Subject", Q_NULLPTR));
205  attachmentLabel->setText(QApplication::translate("newCaDialog", "Attachment: ", Q_NULLPTR));
206  attachmentListLabel->setText(QString());
207  addAttachmentBtn->setText(QApplication::translate("newCaDialog", "Add", Q_NULLPTR));
208  } // retranslateUi
209 
210 };
211 
212 namespace Ui {
213  class newCaDialog: public Ui_newCaDialog {};
214 } // namespace Ui
215 
216 QT_END_NAMESPACE
217 
218 #endif // UI_NEWCLASSIFIEDAD_H
QHBoxLayout * toolBoxForActionsLower
Definition: ui_newClassifiedAd.h:46
QLabel * caRegardingLabel
Definition: ui_newClassifiedAd.h:38
QDialogButtonBox * bottomButtonsBox
Definition: ui_newClassifiedAd.h:52
Definition: ui_aboutDialog.h:161
QHBoxLayout * subjectLayout
Definition: ui_newClassifiedAd.h:42
QHBoxLayout * toolBoxForActionsUpper
Definition: ui_newClassifiedAd.h:45
QTextEdit * adEdit
Definition: ui_newClassifiedAd.h:47
QLabel * attachmentLabel
Definition: ui_newClassifiedAd.h:49
void setupUi(QDialog *newCaDialog)
Definition: ui_newClassifiedAd.h:54
QComboBox * caAboutComboBox
Definition: ui_newClassifiedAd.h:37
QLabel * caWhereLabel
Definition: ui_newClassifiedAd.h:40
QLabel * attachmentListLabel
Definition: ui_newClassifiedAd.h:50
Definition: ui_newClassifiedAd.h:30
QGridLayout * gridLayout
Definition: ui_newClassifiedAd.h:33
Definition: ui_newClassifiedAd.h:213
QLabel * subjectLabel
Definition: ui_newClassifiedAd.h:43
QHBoxLayout * groupSelectionLayout
Definition: ui_newClassifiedAd.h:36
QLabel * aboutLabel
Definition: ui_newClassifiedAd.h:35
QPushButton * addAttachmentBtn
Definition: ui_newClassifiedAd.h:51
QVBoxLayout * verticalLayout
Definition: ui_newClassifiedAd.h:34
QLineEdit * subjectEdit
Definition: ui_newClassifiedAd.h:44
void retranslateUi(QDialog *newCaDialog)
Definition: ui_newClassifiedAd.h:198
QComboBox * caWhereComboBox
Definition: ui_newClassifiedAd.h:41
QHBoxLayout * attachmentLayout
Definition: ui_newClassifiedAd.h:48
QComboBox * caRegardingCombobox
Definition: ui_newClassifiedAd.h:39