Marble

MarbleAboutDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2004-2007 Torsten Rahn <tackat@kde.org>
4// SPDX-FileCopyrightText: 2007 Inge Wallin <ingwa@kde.org>
5//
6
7//
8// The about dialog
9//
10
11#ifndef MARBLE_MARBLEABOUTDIALOG_H
12#define MARBLE_MARBLEABOUTDIALOG_H
13
14#include <QDialog>
15
16#include "marble_export.h"
17
18namespace Marble
19{
20
21class MarbleAboutDialogPrivate;
22
23class MARBLE_EXPORT MarbleAboutDialog : public QDialog
24{
25 Q_OBJECT
26
27public:
28 enum Tab {
29 About,
30 Authors,
31 Data,
33 };
34
35 explicit MarbleAboutDialog(QWidget *parent = nullptr);
36 ~MarbleAboutDialog() override;
37
38 /**
39 * Set the application title (usually name and version) to show
40 * The default application title is 'Marble Virtual Globe'
41 */
42 void setApplicationTitle(const QString &title);
43
44 /**
45 * @brief setInitialTab Change the tab shown when executing the dialog
46 * @param tab The tab to show
47 */
48 void setInitialTab(Tab tab);
49
50private:
51 Q_PRIVATE_SLOT(d, void loadPageContents(int idx))
52 Q_DISABLE_COPY(MarbleAboutDialog)
53 MarbleAboutDialogPrivate *const d;
54};
55
56}
57
58#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 Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.