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 <ingwa@kde.org>
4// SPDX-FileCopyrightText: 2008 Jens-Michael Hoffmann <jensmh@gmx.de>
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 <torsten@kde.org>
16 */
17
18#include <QWidget>
19
20#include "marble_export.h"
21
22class QModelIndex;
23
24/**
25 * @short A public class that adds methods to the UI Plugins Settings Widget.
26 *
27 */
28namespace Marble
29{
30
31class MarblePluginSettingsWidgetPrivate;
32class RenderPluginModel;
33
34class 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.