44 #include "ui_pluginDialog.h" 46 #include <OpenFlipper/Core/PluginInfo.hh> 53 PluginDialog(std::vector<PluginInfo>& _plugins, QWidget *parent = 0);
58 std::vector<PluginInfo>& plugins_;
59 std::vector<QLabel*> descriptions_;
60 QVector< QFrame* > frames_;
62 static const QColor blockColor_;
63 static const QColor unloadColor_;
64 static const QColor loadedBuiltInColor_;
65 static const QColor loadedExternalColor_;
66 static const QColor failColor_;
69 void slotContextMenu(
const QPoint& _point);
70 void slotLoadPlugin();
71 void slotBlockPlugin();
72 void slotUnBlockPlugin();
75 void closeEvent(QCloseEvent *event);
78 void blockPlugin(
const QString &_name);
79 void unBlockPlugin(
const QString &_name);
81 void loadPlugin(
const QString& _filename,
bool _silent, QString& _licenseErrors, QObject* _plugin);