Marble

RoutingProfileSettingsDialog.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Niko Sams <[email protected]>
4 //
5 
6 
7 #ifndef MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
8 #define MARBLE_ROUTINGPROFILESETTINGSDIALOG_H
9 
10 #include <QDialog>
11 
12 #include "RoutingRunnerPlugin.h"
13 
14 class QStandardItemModel;
15 class QHBoxLayout;
16 class Ui_RoutingProfileSettingsDialog;
17 
18 namespace Marble {
19 
20 class PluginManager;
21 class RoutingProfilesModel;
22 
23 class RoutingProfileSettingsDialog : public QDialog
24 {
25  Q_OBJECT
26 public:
27  RoutingProfileSettingsDialog( const PluginManager *pluginManager, RoutingProfilesModel *profilesModel, QWidget *parent = nullptr );
28  ~RoutingProfileSettingsDialog() override;
29 
30  void editProfile( int profileIndex );
31 
32 private Q_SLOTS:
33  void updateConfigWidget();
34 
35  void openConfigDialog();
36 
37 private:
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
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
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 Thu Sep 21 2023 04:12:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.