9 #ifndef UI_ATTACHMENTLISTDIALOG_H 10 #define UI_ATTACHMENTLISTDIALOG_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/QHeaderView> 20 #include <QtWidgets/QListView> 21 #include <QtWidgets/QVBoxLayout> 33 void setupUi(QDialog *attachmentListDialog)
35 if (attachmentListDialog->objectName().isEmpty())
36 attachmentListDialog->setObjectName(QStringLiteral(
"attachmentListDialog"));
37 attachmentListDialog->resize(300, 300);
38 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
39 sizePolicy.setHorizontalStretch(0);
40 sizePolicy.setVerticalStretch(0);
41 sizePolicy.setHeightForWidth(attachmentListDialog->sizePolicy().hasHeightForWidth());
42 attachmentListDialog->setSizePolicy(sizePolicy);
43 attachmentListDialog->setMinimumSize(QSize(0, 0));
44 attachmentListDialog->setSizeGripEnabled(
true);
45 gridLayout =
new QGridLayout(attachmentListDialog);
46 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
47 verticalLayout =
new QVBoxLayout();
48 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
49 fileListView =
new QListView(attachmentListDialog);
50 fileListView->setObjectName(QStringLiteral(
"fileListView"));
52 verticalLayout->addWidget(fileListView);
54 bottomButtonsBox =
new QDialogButtonBox(attachmentListDialog);
55 bottomButtonsBox->setObjectName(QStringLiteral(
"bottomButtonsBox"));
56 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
57 sizePolicy1.setHorizontalStretch(0);
58 sizePolicy1.setVerticalStretch(0);
59 sizePolicy1.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
60 bottomButtonsBox->setSizePolicy(sizePolicy1);
61 bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
63 verticalLayout->addWidget(bottomButtonsBox);
66 gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
70 QObject::connect(bottomButtonsBox, SIGNAL(rejected()), attachmentListDialog, SLOT(reject()));
72 QMetaObject::connectSlotsByName(attachmentListDialog);
77 attachmentListDialog->setWindowTitle(QApplication::translate(
"attachmentListDialog",
"List of attached files", Q_NULLPTR));
88 #endif // UI_ATTACHMENTLISTDIALOG_H QVBoxLayout * verticalLayout
Definition: ui_attachmentListDialog.h:29
Definition: ui_attachmentListDialog.h:83
void setupUi(QDialog *attachmentListDialog)
Definition: ui_attachmentListDialog.h:33
Definition: ui_aboutDialog.h:161
QDialogButtonBox * bottomButtonsBox
Definition: ui_attachmentListDialog.h:31
Definition: ui_attachmentListDialog.h:25
QGridLayout * gridLayout
Definition: ui_attachmentListDialog.h:28
void retranslateUi(QDialog *attachmentListDialog)
Definition: ui_attachmentListDialog.h:75
QListView * fileListView
Definition: ui_attachmentListDialog.h:30