9 #ifndef UI_GUI_PLUGIN_MANAGER_H 10 #define UI_GUI_PLUGIN_MANAGER_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/QGroupBox> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QTableView> 24 #include <QtWidgets/QTreeWidget> 25 #include <QtWidgets/QVBoxLayout> 29 class Ui_GuiPluginManager
32 QVBoxLayout *verticalLayout;
33 QGroupBox *groupBoxSetPluginPath;
34 QVBoxLayout *verticalLayout_2;
35 QTreeWidget *treeWidgetPluginPath;
36 QHBoxLayout *horizontalLayout;
37 QSpacerItem *horizontalSpacer;
38 QPushButton *pushButton_2;
39 QPushButton *pushButton;
40 QPushButton *pushButtonRemove;
41 QPushButton *pushButtonBrowsePath;
42 QGroupBox *groupBoxTableViewPlugins;
43 QHBoxLayout *horizontalLayout_2;
44 QTableView *tableViewPlugins;
45 QDialogButtonBox *buttonBox;
49 if (GuiPluginManager->objectName().isEmpty())
50 GuiPluginManager->setObjectName(QStringLiteral(
"GuiPluginManager"));
51 GuiPluginManager->resize(640, 480);
52 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
53 sizePolicy.setHorizontalStretch(0);
54 sizePolicy.setVerticalStretch(0);
55 sizePolicy.setHeightForWidth(GuiPluginManager->sizePolicy().hasHeightForWidth());
56 GuiPluginManager->setSizePolicy(sizePolicy);
57 GuiPluginManager->setMinimumSize(QSize(640, 400));
58 GuiPluginManager->setStyleSheet(QStringLiteral(
""));
59 verticalLayout =
new QVBoxLayout(GuiPluginManager);
60 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
61 groupBoxSetPluginPath =
new QGroupBox(GuiPluginManager);
62 groupBoxSetPluginPath->setObjectName(QStringLiteral(
"groupBoxSetPluginPath"));
63 verticalLayout_2 =
new QVBoxLayout(groupBoxSetPluginPath);
64 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
65 treeWidgetPluginPath =
new QTreeWidget(groupBoxSetPluginPath);
66 QTreeWidgetItem *__qtreewidgetitem =
new QTreeWidgetItem();
67 __qtreewidgetitem->setText(0, QStringLiteral(
"1"));
68 treeWidgetPluginPath->setHeaderItem(__qtreewidgetitem);
69 treeWidgetPluginPath->setObjectName(QStringLiteral(
"treeWidgetPluginPath"));
70 treeWidgetPluginPath->setSelectionMode(QAbstractItemView::ContiguousSelection);
71 treeWidgetPluginPath->header()->setVisible(
false);
73 verticalLayout_2->addWidget(treeWidgetPluginPath);
75 horizontalLayout =
new QHBoxLayout();
76 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
77 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
79 horizontalLayout->addItem(horizontalSpacer);
81 pushButton_2 =
new QPushButton(groupBoxSetPluginPath);
82 pushButton_2->setObjectName(QStringLiteral(
"pushButton_2"));
84 horizontalLayout->addWidget(pushButton_2);
86 pushButton =
new QPushButton(groupBoxSetPluginPath);
87 pushButton->setObjectName(QStringLiteral(
"pushButton"));
89 horizontalLayout->addWidget(pushButton);
91 pushButtonRemove =
new QPushButton(groupBoxSetPluginPath);
92 pushButtonRemove->setObjectName(QStringLiteral(
"pushButtonRemove"));
94 horizontalLayout->addWidget(pushButtonRemove);
96 pushButtonBrowsePath =
new QPushButton(groupBoxSetPluginPath);
97 pushButtonBrowsePath->setObjectName(QStringLiteral(
"pushButtonBrowsePath"));
99 horizontalLayout->addWidget(pushButtonBrowsePath);
102 verticalLayout_2->addLayout(horizontalLayout);
105 verticalLayout->addWidget(groupBoxSetPluginPath);
107 groupBoxTableViewPlugins =
new QGroupBox(GuiPluginManager);
108 groupBoxTableViewPlugins->setObjectName(QStringLiteral(
"groupBoxTableViewPlugins"));
109 horizontalLayout_2 =
new QHBoxLayout(groupBoxTableViewPlugins);
110 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
111 tableViewPlugins =
new QTableView(groupBoxTableViewPlugins);
112 tableViewPlugins->setObjectName(QStringLiteral(
"tableViewPlugins"));
113 sizePolicy.setHeightForWidth(tableViewPlugins->sizePolicy().hasHeightForWidth());
114 tableViewPlugins->setSizePolicy(sizePolicy);
115 tableViewPlugins->setMinimumSize(QSize(400, 200));
116 tableViewPlugins->setMaximumSize(QSize(16777215, 16777215));
117 tableViewPlugins->setSelectionMode(QAbstractItemView::SingleSelection);
118 tableViewPlugins->setSelectionBehavior(QAbstractItemView::SelectRows);
120 horizontalLayout_2->addWidget(tableViewPlugins);
123 verticalLayout->addWidget(groupBoxTableViewPlugins);
125 buttonBox =
new QDialogButtonBox(GuiPluginManager);
126 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
127 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
129 verticalLayout->addWidget(buttonBox);
132 retranslateUi(GuiPluginManager);
133 QObject::connect(pushButton_2, SIGNAL(clicked()), treeWidgetPluginPath, SLOT(clearSelection()));
134 QObject::connect(pushButton, SIGNAL(clicked()), treeWidgetPluginPath, SLOT(selectAll()));
135 QObject::connect(buttonBox, SIGNAL(accepted()), GuiPluginManager, SLOT(accept()));
136 QObject::connect(buttonBox, SIGNAL(rejected()), GuiPluginManager, SLOT(reject()));
137 QObject::connect(pushButtonBrowsePath, SIGNAL(clicked()), GuiPluginManager, SLOT(onAddPluginPath()));
138 QObject::connect(pushButtonRemove, SIGNAL(clicked()), GuiPluginManager, SLOT(onRemovePluginPath()));
140 QMetaObject::connectSlotsByName(GuiPluginManager);
143 void retranslateUi(QDialog *GuiPluginManager)
145 GuiPluginManager->setWindowTitle(QApplication::translate(
"GuiPluginManager",
"Plugins", Q_NULLPTR));
146 groupBoxSetPluginPath->setTitle(QApplication::translate(
"GuiPluginManager",
"Plugin Path", Q_NULLPTR));
147 pushButton_2->setText(QApplication::translate(
"GuiPluginManager",
"Unselect All", Q_NULLPTR));
148 pushButton->setText(QApplication::translate(
"GuiPluginManager",
"Select All", Q_NULLPTR));
149 pushButtonRemove->setText(QApplication::translate(
"GuiPluginManager",
"Remove", Q_NULLPTR));
150 pushButtonBrowsePath->setText(QApplication::translate(
"GuiPluginManager",
"Add", Q_NULLPTR));
151 groupBoxTableViewPlugins->setTitle(QApplication::translate(
"GuiPluginManager",
"Plugins", Q_NULLPTR));
157 class GuiPluginManager:
public Ui_GuiPluginManager {};
162 #endif // UI_GUI_PLUGIN_MANAGER_H Definition: item_origin_visualizer.h:10
Definition: gui_plugin_manager.h:13