Marble

RoutingProfileSettingsDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Niko Sams <niko.sams@gmail.com>
4//
5
6#ifndef MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
7#define MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
8
9#include <QDialog>
10
11#include "RoutingRunnerPlugin.h"
12
14class QHBoxLayout;
15class Ui_RoutingProfileSettingsDialog;
16
17namespace Marble
18{
19
20class PluginManager;
21class RoutingProfilesModel;
22
23class RoutingProfileSettingsDialog : public QDialog
24{
26public:
27 RoutingProfileSettingsDialog(const PluginManager *pluginManager, RoutingProfilesModel *profilesModel, QWidget *parent = nullptr);
28 ~RoutingProfileSettingsDialog() override;
29
30 void editProfile(int profileIndex);
31
32private Q_SLOTS:
33 void updateConfigWidget();
34
35 void openConfigDialog();
36
37private:
38 RoutingProfilesModel *m_profilesModel;
39
42
43 Ui_RoutingProfileSettingsDialog *m_ui;
44 QStandardItemModel *m_servicesModel;
45
46 QDialog *m_dialog;
47 QHBoxLayout *m_dialogLayout;
48};
49
50}
51
52#endif
Binds a QML item to a specific geodetic location in screen coordinates.
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.