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
7#ifndef MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
8#define MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
9
10#include <QDialog>
11
12#include "RoutingRunnerPlugin.h"
13
15class QHBoxLayout;
16class Ui_RoutingProfileSettingsDialog;
17
18namespace Marble {
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
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
T qobject_cast(QObject *object)
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.