9 #ifndef UI_PQQUICKLAUNCHDIALOGEXTENDED_H 10 #define UI_PQQUICKLAUNCHDIALOGEXTENDED_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QDialog> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QLabel> 18 #include <QtWidgets/QLineEdit> 19 #include <QtWidgets/QListView> 20 #include <QtWidgets/QPushButton> 21 #include <QtWidgets/QToolButton> 40 void setupUi(QDialog *QuickLaunchDialogExtended)
42 if (QuickLaunchDialogExtended->objectName().isEmpty())
43 QuickLaunchDialogExtended->setObjectName(QString::fromUtf8(
"QuickLaunchDialogExtended"));
44 QuickLaunchDialogExtended->resize(588, 563);
45 gridLayout =
new QGridLayout(QuickLaunchDialogExtended);
46 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
47 Request =
new QLineEdit(QuickLaunchDialogExtended);
48 Request->setObjectName(QString::fromUtf8(
"Request"));
50 gridLayout->addWidget(Request, 0, 0, 1, 2);
52 CreateProxy =
new QPushButton(QuickLaunchDialogExtended);
53 CreateProxy->setObjectName(QString::fromUtf8(
"CreateProxy"));
55 gridLayout->addWidget(CreateProxy, 1, 0, 1, 2);
57 AvailableProxies =
new QListView(QuickLaunchDialogExtended);
58 AvailableProxies->setObjectName(QString::fromUtf8(
"AvailableProxies"));
59 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
60 sizePolicy.setHorizontalStretch(0);
61 sizePolicy.setVerticalStretch(0);
62 sizePolicy.setHeightForWidth(AvailableProxies->sizePolicy().hasHeightForWidth());
63 AvailableProxies->setSizePolicy(sizePolicy);
65 gridLayout->addWidget(AvailableProxies, 2, 0, 3, 2);
67 GoToHelp =
new QToolButton(QuickLaunchDialogExtended);
68 GoToHelp->setObjectName(QString::fromUtf8(
"GoToHelp"));
70 icon.addFile(QString::fromUtf8(
":/pqWidgets/Icons/pqHelp.svg"), QSize(), QIcon::Normal, QIcon::Off);
71 GoToHelp->setIcon(icon);
73 gridLayout->addWidget(GoToHelp, 5, 0, 1, 1);
75 ShortHelp =
new QLabel(QuickLaunchDialogExtended);
76 ShortHelp->setObjectName(QString::fromUtf8(
"ShortHelp"));
77 ShortHelp->setAlignment(Qt::AlignBottom);
78 ShortHelp->setWordWrap(
true);
79 ShortHelp->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);
81 gridLayout->addWidget(ShortHelp, 5, 1, 1, 1);
83 RequirementIcon =
new QLabel(QuickLaunchDialogExtended);
84 RequirementIcon->setObjectName(QString::fromUtf8(
"RequirementIcon"));
85 RequirementIcon->setAlignment(Qt::AlignCenter);
87 gridLayout->addWidget(RequirementIcon, 6, 0, 1, 1);
89 Requirements =
new QLabel(QuickLaunchDialogExtended);
90 Requirements->setObjectName(QString::fromUtf8(
"Requirements"));
91 Requirements->setAlignment(Qt::AlignBottom);
92 Requirements->setWordWrap(
true);
93 Requirements->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);
95 gridLayout->addWidget(Requirements, 6, 1, 1, 1);
97 DisabledLabel =
new QLabel(QuickLaunchDialogExtended);
98 DisabledLabel->setObjectName(QString::fromUtf8(
"DisabledLabel"));
100 gridLayout->addWidget(DisabledLabel, 7, 0, 1, 2);
102 DisabledProxies =
new QListView(QuickLaunchDialogExtended);
103 DisabledProxies->setObjectName(QString::fromUtf8(
"DisabledProxies"));
104 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Maximum);
105 sizePolicy1.setHorizontalStretch(0);
106 sizePolicy1.setVerticalStretch(0);
107 sizePolicy1.setHeightForWidth(DisabledProxies->sizePolicy().hasHeightForWidth());
108 DisabledProxies->setSizePolicy(sizePolicy1);
110 gridLayout->addWidget(DisabledProxies, 8, 0, 1, 2);
112 Instructions =
new QLabel(QuickLaunchDialogExtended);
113 Instructions->setObjectName(QString::fromUtf8(
"Instructions"));
115 gridLayout->addWidget(Instructions, 9, 0, 1, 2);
120 QMetaObject::connectSlotsByName(QuickLaunchDialogExtended);
125 QuickLaunchDialogExtended->setWindowTitle(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Quick Launch",
nullptr));
126 Request->setPlaceholderText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Type to search",
nullptr));
127 CreateProxy->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"SelectedElement",
nullptr));
128 #if QT_CONFIG(tooltip) 129 CreateProxy->setToolTip(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Create the selected element",
nullptr));
130 #endif // QT_CONFIG(tooltip) 131 GoToHelp->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"?",
nullptr));
132 #if QT_CONFIG(tooltip) 133 GoToHelp->setToolTip(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Open the Help",
nullptr));
134 #endif // QT_CONFIG(tooltip) 135 ShortHelp->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Short help for selected element",
nullptr));
136 Requirements->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Requirements (if unmet)",
nullptr));
137 DisabledLabel->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Unavailable:",
nullptr));
138 #if QT_CONFIG(tooltip) 139 DisabledLabel->setToolTip(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Select one to see its unmet requirements.",
nullptr));
140 #endif // QT_CONFIG(tooltip) 141 #if QT_CONFIG(tooltip) 142 DisabledProxies->setToolTip(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Unavailable: select one to see its unmet requirements.",
nullptr));
143 #endif // QT_CONFIG(tooltip) 144 Instructions->setText(QCoreApplication::translate(
"QuickLaunchDialogExtended",
"Press Enter to create, Shift+Enter to create and apply.\n" 145 "Esc to cancel",
nullptr));
156 #endif // UI_PQQUICKLAUNCHDIALOGEXTENDED_H QPushButton * CreateProxy
void setupUi(QDialog *QuickLaunchDialogExtended)
void retranslateUi(QDialog *QuickLaunchDialogExtended)
QListView * AvailableProxies
QListView * DisabledProxies