Marble

MarblePluginSettingsWidget.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2007 Inge Wallin <[email protected]>
9 // Copyright 2008 Jens-Michael Hoffmann <[email protected]>
10 //
11 
12 #ifndef MARBLE_MARBLEPLUGINSETTINGSWIDGET_H
13 #define MARBLE_MARBLEPLUGINSETTINGSWIDGET_H
14 
15 
23 #include <QWidget>
24 
25 #include "marble_export.h"
26 
27 class QModelIndex;
28 
33 namespace Marble
34 {
35 
36 class MarblePluginSettingsWidgetPrivate;
37 class RenderPluginModel;
38 
39 class MARBLE_EXPORT MarblePluginSettingsWidget : public QWidget
40 {
41  Q_OBJECT
42 
43  public:
44  explicit MarblePluginSettingsWidget( QWidget *parent = nullptr );
45  ~MarblePluginSettingsWidget() override;
46 
47  void setModel( RenderPluginModel* pluginModel );
48 
49  void setAboutIcon( const QIcon& icon );
50  void setConfigIcon( const QIcon& icon );
51 
52  Q_SIGNALS:
53  void pluginListViewClicked();
54 
55  private:
56  Q_PRIVATE_SLOT( d, void showPluginAboutDialog( const QModelIndex & ) )
57  Q_PRIVATE_SLOT( d, void showPluginConfigDialog( const QModelIndex & ) )
58 
59  private:
60  MarblePluginSettingsWidgetPrivate *d;
61 };
62 
63 }
64 
65 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jun 2 2020 22:32:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.