1 //=========================================== 2 // Lumina-DE source code 3 // Copyright (c) 2015, Ken Moore 4 // Available under the 3-clause BSD license 5 // See the LICENSE file for full details 6 //=========================================== 7 #ifndef _LUMINA_CONFIG_GET_PLUGIN_DIALOG_H 8 #define _LUMINA_CONFIG_GET_PLUGIN_DIALOG_H 9 10 #include <QDialog> 11 12 #include "LPlugins.h" 13 14 namespace Ui{ 15 class GetPluginDialog; 16 }; 17 18 class GetPluginDialog : public QDialog{ 19 Q_OBJECT 20 public: 21 GetPluginDialog(QWidget* parent = 0); 22 ~GetPluginDialog(); 23 24 void LoadPlugins(QString type, LPlugins *DB); 25 26 bool selected; //this is set to true if a plugin was selected by the user 27 QString plugID; //this is set to the ID of the selected plugin 28 29 private: 30 Ui::GetPluginDialog *ui; 31 32 private slots: 33 void pluginchanged(); 34 void accept(); 35 36 }; 37 38 #endif