9 #ifndef UI_PQSELECTIONINPUTWIDGET_H 10 #define UI_PQSELECTIONINPUTWIDGET_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QLabel> 15 #include <QtWidgets/QPushButton> 16 #include <QtWidgets/QTextBrowser> 17 #include <QtWidgets/QVBoxLayout> 18 #include <QtWidgets/QWidget> 32 if (pqSelectionInputWidget->objectName().isEmpty())
33 pqSelectionInputWidget->setObjectName(QString::fromUtf8(
"pqSelectionInputWidget"));
34 pqSelectionInputWidget->resize(270, 207);
39 pqSelectionInputWidget->setFont(font);
40 vboxLayout =
new QVBoxLayout(pqSelectionInputWidget);
41 vboxLayout->setSpacing(6);
42 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
43 vboxLayout->setContentsMargins(9, 9, 9, 9);
44 pushButtonCopySelection =
new QPushButton(pqSelectionInputWidget);
45 pushButtonCopySelection->setObjectName(QString::fromUtf8(
"pushButtonCopySelection"));
49 pushButtonCopySelection->setFont(font1);
51 vboxLayout->addWidget(pushButtonCopySelection);
53 label =
new QLabel(pqSelectionInputWidget);
54 label->setObjectName(QString::fromUtf8(
"label"));
55 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
56 sizePolicy.setHorizontalStretch(0);
57 sizePolicy.setVerticalStretch(0);
58 sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
59 label->setSizePolicy(sizePolicy);
63 label->setFont(font2);
64 label->setFrameShape(QFrame::NoFrame);
65 label->setTextFormat(Qt::AutoText);
66 label->setAlignment(Qt::AlignCenter);
69 vboxLayout->addWidget(label);
71 textBrowser =
new QTextBrowser(pqSelectionInputWidget);
72 textBrowser->setObjectName(QString::fromUtf8(
"textBrowser"));
73 textBrowser->setLineWrapMode(QTextEdit::NoWrap);
75 vboxLayout->addWidget(textBrowser);
80 QMetaObject::connectSlotsByName(pqSelectionInputWidget);
85 pqSelectionInputWidget->setWindowTitle(QCoreApplication::translate(
"pqSelectionInputWidget",
"Form",
nullptr));
86 pushButtonCopySelection->setText(QCoreApplication::translate(
"pqSelectionInputWidget",
"Copy Active Selection",
nullptr));
87 label->setText(QCoreApplication::translate(
"pqSelectionInputWidget",
"Copied Selection",
nullptr));
98 #endif // UI_PQSELECTIONINPUTWIDGET_H