dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
plugindialog.h
Go to the documentation of this file.
1 
13 /*
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful, but
20  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  * for more details.
23  *
24  * You should have received a copy of the GNU General Public License along
25  * with this program; if not, see <http://www.gnu.org/licenses/>
26  */
27 
28 #ifndef PLUGINDIALOG_H
29 #define PLUGINDIALOG_H
30 
31 #include <QDialog>
32 
33 QT_BEGIN_NAMESPACE
34 class QPushButton;
35 QT_END_NAMESPACE
36 
37 namespace ExtensionSystem {
38 class PluginSpec;
39 class PluginView;
40 }
41 
42 namespace Core {
43 namespace Internal {
44 
45  class PluginDialog : public QDialog
46  {
47  Q_OBJECT
48 
49  public:
50  explicit PluginDialog(QWidget *parent);
51 
52  private slots:
53  void updateButtons();
54  void openDetails();
55  void openDetails(ExtensionSystem::PluginSpec *spec);
56  void openErrorDetails();
57 
58  private:
60 
61  QPushButton *m_detailsButton;
62  QPushButton *m_errorDetailsButton;
63  QPushButton *m_closeButton;
64  };
65 
66 } // namespace Internal
67 } // namespace Core
68 
69 #endif // PLUGINDIALOG_H
Widget that shows a list of all plugins and their state.
Definition: pluginview.h:51
Contains the information of the plugins xml description file and information about the plugin's curre...
Definition: pluginspec.h:63
PluginDialog(QWidget *parent)