50 #include "ui_pluginDialog.hh"
52 #if QT_VERSION >= 0x050000
58 #include <OpenFlipper/Core/PluginInfo.hh>
65 PluginDialog(std::vector<PluginInfo>& _plugins, QWidget *parent = 0);
70 std::vector<PluginInfo>& plugins_;
71 std::vector<QLabel*> descriptions_;
72 QVector< QFrame* > frames_;
74 static const QColor blockColor_;
75 static const QColor unloadColor_;
76 static const QColor loadedBuiltInColor_;
77 static const QColor loadedExternalColor_;
78 static const QColor failColor_;
81 void slotContextMenu(
const QPoint& _point);
82 void slotLoadPlugin();
83 void slotBlockPlugin();
84 void slotUnBlockPlugin();
87 void closeEvent(QCloseEvent *event);
90 void blockPlugin(
const QString &_name);
91 void unBlockPlugin(
const QString &_name);
93 void loadPlugin(
const QString& _filename,
bool _silent, QString& _licenseErrors, QObject* _plugin);