9 #ifndef UI_PQSELECTIONLINKDIALOG_H 10 #define UI_PQSELECTIONLINKDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QRadioButton> 32 void setupUi(QDialog *SelectionLinkDialog)
34 if (SelectionLinkDialog->objectName().isEmpty())
35 SelectionLinkDialog->setObjectName(QString::fromUtf8(
"SelectionLinkDialog"));
36 gridLayout =
new QGridLayout(SelectionLinkDialog);
37 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
38 convertToIndicesRadioButton =
new QRadioButton(SelectionLinkDialog);
39 convertToIndicesRadioButton->setObjectName(QString::fromUtf8(
"convertToIndicesRadioButton"));
40 convertToIndicesRadioButton->setChecked(
true);
42 gridLayout->addWidget(convertToIndicesRadioButton, 0, 0, 1, 1);
44 convertToIndicesLabel =
new QLabel(SelectionLinkDialog);
45 convertToIndicesLabel->setObjectName(QString::fromUtf8(
"convertToIndicesLabel"));
46 convertToIndicesLabel->setTextFormat(Qt::RichText);
47 convertToIndicesLabel->setWordWrap(
false);
49 gridLayout->addWidget(convertToIndicesLabel, 0, 1, 1, 1);
51 selectionSharingRadioButton =
new QRadioButton(SelectionLinkDialog);
52 selectionSharingRadioButton->setObjectName(QString::fromUtf8(
"selectionSharingRadioButton"));
54 gridLayout->addWidget(selectionSharingRadioButton, 1, 0, 1, 1);
56 selectionSharingLabel =
new QLabel(SelectionLinkDialog);
57 selectionSharingLabel->setObjectName(QString::fromUtf8(
"selectionSharingLabel"));
58 selectionSharingLabel->setTextFormat(Qt::RichText);
59 selectionSharingLabel->setWordWrap(
false);
61 gridLayout->addWidget(selectionSharingLabel, 1, 1, 1, 1);
63 buttonBox =
new QDialogButtonBox(SelectionLinkDialog);
64 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
65 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
67 gridLayout->addWidget(buttonBox, 2, 0, 1, 2);
71 QObject::connect(buttonBox, SIGNAL(accepted()), SelectionLinkDialog, SLOT(accept()));
72 QObject::connect(buttonBox, SIGNAL(rejected()), SelectionLinkDialog, SLOT(reject()));
74 QMetaObject::connectSlotsByName(SelectionLinkDialog);
79 SelectionLinkDialog->setWindowTitle(QCoreApplication::translate(
"SelectionLinkDialog",
"Selection Link Mode",
nullptr));
80 convertToIndicesLabel->setText(QCoreApplication::translate(
"SelectionLinkDialog",
"<b>Link Selected Elements:</b> link selection by evaluating the<br/>selection on the data source and select corresponding<br/>elements based on their indices on other linked data sources.",
nullptr));
81 selectionSharingLabel->setText(QCoreApplication::translate(
"SelectionLinkDialog",
"<b>Link Selection:</b> link selection by sharing the actual selection<br/>between the data sources. The selection is then evaluated for<br/>each linked sources separately.",
nullptr));
92 #endif // UI_PQSELECTIONLINKDIALOG_H void setupUi(QDialog *SelectionLinkDialog)
QDialogButtonBox * buttonBox
QLabel * selectionSharingLabel
QLabel * convertToIndicesLabel
QRadioButton * convertToIndicesRadioButton
QRadioButton * selectionSharingRadioButton
void retranslateUi(QDialog *SelectionLinkDialog)