Classified ads
ui_metadataQuery.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'metadataQuery.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_METADATAQUERY_H
10 #define UI_METADATAQUERY_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/QSpacerItem>
25 #include <QtWidgets/QVBoxLayout>
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QGridLayout *gridLayout;
33  QVBoxLayout *verticalLayout;
34  QDialogButtonBox *bottomButtonsBox;
35  QHBoxLayout *metadataLayout;
36  QLabel *fileNameLabel;
37  QLineEdit *fileNameEdit;
38  QHBoxLayout *ownerLayout;
39  QLabel *ownerLabel;
40  QLineEdit *ownerEdit;
41  QSpacerItem *verticalSpacer;
42  QHBoxLayout *licenseLayout;
43  QLabel *licenseLabel;
44  QComboBox *licenseComboBox;
45  QHBoxLayout *mimetypeLayout;
46  QLabel *mimetypeLabel;
47  QLineEdit *mimetypeEdit;
48  QHBoxLayout *descriptionLayout;
50  QLineEdit *descriptionEdit;
52 
53  void setupUi(QDialog *metadataQuery)
54  {
55  if (metadataQuery->objectName().isEmpty())
56  metadataQuery->setObjectName(QStringLiteral("metadataQuery"));
57  metadataQuery->resize(751, 309);
58  QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
59  sizePolicy.setHorizontalStretch(0);
60  sizePolicy.setVerticalStretch(0);
61  sizePolicy.setHeightForWidth(metadataQuery->sizePolicy().hasHeightForWidth());
62  metadataQuery->setSizePolicy(sizePolicy);
63  metadataQuery->setMinimumSize(QSize(0, 0));
64  metadataQuery->setSizeGripEnabled(true);
65  gridLayout = new QGridLayout(metadataQuery);
66  gridLayout->setObjectName(QStringLiteral("gridLayout"));
67  verticalLayout = new QVBoxLayout();
68  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
69  bottomButtonsBox = new QDialogButtonBox(metadataQuery);
70  bottomButtonsBox->setObjectName(QStringLiteral("bottomButtonsBox"));
71  QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
72  sizePolicy1.setHorizontalStretch(0);
73  sizePolicy1.setVerticalStretch(0);
74  sizePolicy1.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
75  bottomButtonsBox->setSizePolicy(sizePolicy1);
76  bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
77  bottomButtonsBox->setCenterButtons(false);
78 
79  verticalLayout->addWidget(bottomButtonsBox);
80 
81 
82  gridLayout->addLayout(verticalLayout, 7, 0, 1, 1);
83 
84  metadataLayout = new QHBoxLayout();
85  metadataLayout->setObjectName(QStringLiteral("metadataLayout"));
86  metadataLayout->setContentsMargins(-1, 0, -1, -1);
87  fileNameLabel = new QLabel(metadataQuery);
88  fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));
89 
90  metadataLayout->addWidget(fileNameLabel);
91 
92  fileNameEdit = new QLineEdit(metadataQuery);
93  fileNameEdit->setObjectName(QStringLiteral("fileNameEdit"));
94  fileNameEdit->setEnabled(false);
95 
96  metadataLayout->addWidget(fileNameEdit);
97 
98 
99  gridLayout->addLayout(metadataLayout, 1, 0, 1, 1);
100 
101  ownerLayout = new QHBoxLayout();
102  ownerLayout->setObjectName(QStringLiteral("ownerLayout"));
103  ownerLayout->setContentsMargins(-1, -1, -1, 0);
104  ownerLabel = new QLabel(metadataQuery);
105  ownerLabel->setObjectName(QStringLiteral("ownerLabel"));
106 
107  ownerLayout->addWidget(ownerLabel);
108 
109  ownerEdit = new QLineEdit(metadataQuery);
110  ownerEdit->setObjectName(QStringLiteral("ownerEdit"));
111 
112  ownerLayout->addWidget(ownerEdit);
113 
114 
115  gridLayout->addLayout(ownerLayout, 3, 0, 1, 1);
116 
117  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
118 
119  gridLayout->addItem(verticalSpacer, 6, 0, 1, 1);
120 
121  licenseLayout = new QHBoxLayout();
122  licenseLayout->setObjectName(QStringLiteral("licenseLayout"));
123  licenseLayout->setContentsMargins(-1, -1, -1, 0);
124  licenseLabel = new QLabel(metadataQuery);
125  licenseLabel->setObjectName(QStringLiteral("licenseLabel"));
126 
127  licenseLayout->addWidget(licenseLabel);
128 
129  licenseComboBox = new QComboBox(metadataQuery);
130  licenseComboBox->setObjectName(QStringLiteral("licenseComboBox"));
131  licenseComboBox->setEditable(true);
132 
133  licenseLayout->addWidget(licenseComboBox);
134 
135 
136  gridLayout->addLayout(licenseLayout, 5, 0, 1, 1);
137 
138  mimetypeLayout = new QHBoxLayout();
139  mimetypeLayout->setObjectName(QStringLiteral("mimetypeLayout"));
140  mimetypeLayout->setContentsMargins(-1, -1, -1, 0);
141  mimetypeLabel = new QLabel(metadataQuery);
142  mimetypeLabel->setObjectName(QStringLiteral("mimetypeLabel"));
143 
144  mimetypeLayout->addWidget(mimetypeLabel);
145 
146  mimetypeEdit = new QLineEdit(metadataQuery);
147  mimetypeEdit->setObjectName(QStringLiteral("mimetypeEdit"));
148 
149  mimetypeLayout->addWidget(mimetypeEdit);
150 
151 
152  gridLayout->addLayout(mimetypeLayout, 4, 0, 1, 1);
153 
154  descriptionLayout = new QHBoxLayout();
155  descriptionLayout->setObjectName(QStringLiteral("descriptionLayout"));
156  descriptionLayout->setContentsMargins(-1, -1, -1, 0);
157  descriptionLabel = new QLabel(metadataQuery);
158  descriptionLabel->setObjectName(QStringLiteral("descriptionLabel"));
159 
160  descriptionLayout->addWidget(descriptionLabel);
161 
162  descriptionEdit = new QLineEdit(metadataQuery);
163  descriptionEdit->setObjectName(QStringLiteral("descriptionEdit"));
164 
165  descriptionLayout->addWidget(descriptionEdit);
166 
167 
168  gridLayout->addLayout(descriptionLayout, 2, 0, 1, 1);
169 
170  topDescriptionLabel = new QLabel(metadataQuery);
171  topDescriptionLabel->setObjectName(QStringLiteral("topDescriptionLabel"));
172  QFont font;
173  font.setPointSize(13);
174  font.setBold(true);
175  font.setWeight(75);
176  topDescriptionLabel->setFont(font);
177 
178  gridLayout->addWidget(topDescriptionLabel, 0, 0, 1, 1);
179 
180  QWidget::setTabOrder(fileNameEdit, bottomButtonsBox);
181 
182  retranslateUi(metadataQuery);
183  QObject::connect(bottomButtonsBox, SIGNAL(rejected()), metadataQuery, SLOT(reject()));
184 
185  QMetaObject::connectSlotsByName(metadataQuery);
186  } // setupUi
187 
188  void retranslateUi(QDialog *metadataQuery)
189  {
190  metadataQuery->setWindowTitle(QApplication::translate("metadataQuery", "File information", Q_NULLPTR));
191  fileNameLabel->setText(QApplication::translate("metadataQuery", "Name of the file:", Q_NULLPTR));
192  ownerLabel->setText(QApplication::translate("metadataQuery", "Owner of file (name or SHA1 if CA operator):", Q_NULLPTR));
193  licenseLabel->setText(QApplication::translate("metadataQuery", "License of use:", Q_NULLPTR));
194  licenseComboBox->clear();
195  licenseComboBox->insertItems(0, QStringList()
196  << QApplication::translate("metadataQuery", "Public domain", Q_NULLPTR)
197  << QApplication::translate("metadataQuery", "GPL", Q_NULLPTR)
198  << QApplication::translate("metadataQuery", "LGPL", Q_NULLPTR)
199  << QApplication::translate("metadataQuery", "BSD", Q_NULLPTR)
200  << QApplication::translate("metadataQuery", "CC-BY", Q_NULLPTR)
201  << QApplication::translate("metadataQuery", "CC-BY-SA", Q_NULLPTR)
202  << QApplication::translate("metadataQuery", "CC-BY-ND", Q_NULLPTR)
203  << QApplication::translate("metadataQuery", "CC-BY-NC", Q_NULLPTR)
204  << QApplication::translate("metadataQuery", "CC-BY-NC-SA", Q_NULLPTR)
205  << QApplication::translate("metadataQuery", "CC-BY-NC-ND", Q_NULLPTR)
206  );
207  mimetypeLabel->setText(QApplication::translate("metadataQuery", "Mime-type:", Q_NULLPTR));
208  descriptionLabel->setText(QApplication::translate("metadataQuery", "Description of file:", Q_NULLPTR));
209  topDescriptionLabel->setText(QApplication::translate("metadataQuery", "Enter information regarding file before publish:", Q_NULLPTR));
210  } // retranslateUi
211 
212 };
213 
214 namespace Ui {
215  class metadataQuery: public Ui_metadataQuery {};
216 } // namespace Ui
217 
218 QT_END_NAMESPACE
219 
220 #endif // UI_METADATAQUERY_H
QLabel * descriptionLabel
Definition: ui_metadataQuery.h:49
Definition: ui_metadataQuery.h:29
QHBoxLayout * descriptionLayout
Definition: ui_metadataQuery.h:48
Definition: ui_aboutDialog.h:161
Definition: ui_metadataQuery.h:215
QLabel * mimetypeLabel
Definition: ui_metadataQuery.h:46
QLabel * fileNameLabel
Definition: ui_metadataQuery.h:36
QLineEdit * descriptionEdit
Definition: ui_metadataQuery.h:50
QHBoxLayout * ownerLayout
Definition: ui_metadataQuery.h:38
QLabel * licenseLabel
Definition: ui_metadataQuery.h:43
QLineEdit * mimetypeEdit
Definition: ui_metadataQuery.h:47
QLineEdit * fileNameEdit
Definition: ui_metadataQuery.h:37
QDialogButtonBox * bottomButtonsBox
Definition: ui_metadataQuery.h:34
QLineEdit * ownerEdit
Definition: ui_metadataQuery.h:40
QLabel * topDescriptionLabel
Definition: ui_metadataQuery.h:51
QLabel * ownerLabel
Definition: ui_metadataQuery.h:39
QSpacerItem * verticalSpacer
Definition: ui_metadataQuery.h:41
QVBoxLayout * verticalLayout
Definition: ui_metadataQuery.h:33
QHBoxLayout * mimetypeLayout
Definition: ui_metadataQuery.h:45
QGridLayout * gridLayout
Definition: ui_metadataQuery.h:32
QHBoxLayout * licenseLayout
Definition: ui_metadataQuery.h:42
void setupUi(QDialog *metadataQuery)
Definition: ui_metadataQuery.h:53
QComboBox * licenseComboBox
Definition: ui_metadataQuery.h:44
void retranslateUi(QDialog *metadataQuery)
Definition: ui_metadataQuery.h:188
QHBoxLayout * metadataLayout
Definition: ui_metadataQuery.h:35