9 #ifndef UI_PQSELECTREADERDIALOG_H 10 #define UI_PQSELECTREADERDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QHBoxLayout> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QListWidget> 18 #include <QtWidgets/QPushButton> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QVBoxLayout> 38 if (SelectReaderDialog->objectName().isEmpty())
39 SelectReaderDialog->setObjectName(QString::fromUtf8(
"SelectReaderDialog"));
40 SelectReaderDialog->resize(447, 453);
41 vboxLayout =
new QVBoxLayout(SelectReaderDialog);
43 vboxLayout->setSpacing(6);
46 vboxLayout->setContentsMargins(9, 9, 9, 9);
48 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
49 FileInfo =
new QLabel(SelectReaderDialog);
50 FileInfo->setObjectName(QString::fromUtf8(
"FileInfo"));
51 FileInfo->setWordWrap(
true);
53 vboxLayout->addWidget(FileInfo);
55 listWidget =
new QListWidget(SelectReaderDialog);
56 listWidget->setObjectName(QString::fromUtf8(
"listWidget"));
57 listWidget->setSortingEnabled(
true);
59 vboxLayout->addWidget(listWidget);
61 label_2 =
new QLabel(SelectReaderDialog);
62 label_2->setObjectName(QString::fromUtf8(
"label_2"));
63 label_2->setWordWrap(
true);
65 vboxLayout->addWidget(label_2);
67 hboxLayout =
new QHBoxLayout();
69 hboxLayout->setSpacing(6);
71 hboxLayout->setContentsMargins(0, 0, 0, 0);
72 hboxLayout->setObjectName(QString::fromUtf8(
"hboxLayout"));
73 spacerItem =
new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);
75 hboxLayout->addItem(spacerItem);
77 okButton =
new QPushButton(SelectReaderDialog);
78 okButton->setObjectName(QString::fromUtf8(
"okButton"));
80 hboxLayout->addWidget(okButton);
82 cancelButton =
new QPushButton(SelectReaderDialog);
83 cancelButton->setObjectName(QString::fromUtf8(
"cancelButton"));
85 hboxLayout->addWidget(cancelButton);
88 vboxLayout->addLayout(hboxLayout);
92 QObject::connect(okButton, SIGNAL(clicked()), SelectReaderDialog, SLOT(accept()));
93 QObject::connect(cancelButton, SIGNAL(clicked()), SelectReaderDialog, SLOT(reject()));
94 QObject::connect(listWidget, SIGNAL(doubleClicked(QModelIndex)), SelectReaderDialog, SLOT(accept()));
96 QMetaObject::connectSlotsByName(SelectReaderDialog);
101 SelectReaderDialog->setWindowTitle(QCoreApplication::translate(
"SelectReaderDialog",
"Open Data With...",
nullptr));
102 FileInfo->setText(QCoreApplication::translate(
"SelectReaderDialog",
"A reader for FileName could not be found. Please choose one:",
nullptr));
103 label_2->setText(QCoreApplication::translate(
"SelectReaderDialog",
"Opening the file with an incompatible reader may result in unpredictable behavior or a crash. Please choose the correct reader.",
nullptr));
104 okButton->setText(QCoreApplication::translate(
"SelectReaderDialog",
"OK",
nullptr));
105 cancelButton->setText(QCoreApplication::translate(
"SelectReaderDialog",
"Cancel",
nullptr));
116 #endif // UI_PQSELECTREADERDIALOG_H
QPushButton * cancelButton
void retranslateUi(QDialog *SelectReaderDialog)
void setupUi(QDialog *SelectReaderDialog)