Marble

MarblePluginSettingsWidget.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2007 Inge Wallin <[email protected]>
4 // SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <[email protected]>
5 //
6 
7 #ifndef MARBLE_MARBLEPLUGINSETTINGSWIDGET_H
8 #define MARBLE_MARBLEPLUGINSETTINGSWIDGET_H
9 
10 
11 /** @file
12  * This file contains the multiple inheritance ui-wrapper for the
13  * MarblePluginSettingsWidget ui file.
14  *
15  * @author Torsten Rahn <[email protected]>
16  */
17 
18 #include <QWidget>
19 
20 #include "marble_export.h"
21 
22 class QModelIndex;
23 
24 /**
25  * @short A public class that adds methods to the UI Plugins Settings Widget.
26  *
27  */
28 namespace Marble
29 {
30 
31 class MarblePluginSettingsWidgetPrivate;
32 class RenderPluginModel;
33 
34 class MARBLE_EXPORT MarblePluginSettingsWidget : public QWidget
35 {
36  Q_OBJECT
37 
38  public:
39  explicit MarblePluginSettingsWidget( QWidget *parent = nullptr );
40  ~MarblePluginSettingsWidget() override;
41 
42  void setModel( RenderPluginModel* pluginModel );
43 
44  void setAboutIcon( const QIcon& icon );
45  void setConfigIcon( const QIcon& icon );
46 
47  Q_SIGNALS:
48  void pluginListViewClicked();
49 
50  private:
51  Q_PRIVATE_SLOT( d, void showPluginAboutDialog( const QModelIndex & ) )
52  Q_PRIVATE_SLOT( d, void showPluginConfigDialog( const QModelIndex & ) )
53 
54  private:
55  MarblePluginSettingsWidgetPrivate *d;
56 };
57 
58 }
59 
60 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.