Marble

PrintOptionsWidget.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Dennis Nienhüser <[email protected]>
4 //
5 
6 #ifndef MARBLE_PRINTOPTIONSWIDGET_H
7 #define MARBLE_PRINTOPTIONSWIDGET_H
8 
9 #include "marble_export.h"
10 
11 #include <QWidget>
12 
13 #include "ui_PrintOptions.h"
14 
15 namespace Marble
16 {
17 
18 class MARBLE_EXPORT PrintOptionsWidget: public QWidget, private Ui::PrintOptions
19 {
20  Q_OBJECT
21 
22 public:
23  explicit PrintOptionsWidget( QWidget * parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags() );
24 
25  bool printMap() const;
26 
27  void setPrintMap( bool print );
28 
29  bool printBackground() const;
30 
31  void setPrintBackground( bool print );
32 
33  bool printLegend() const;
34 
35  void setPrintLegend( bool print );
36 
37  bool printRouteSummary() const;
38 
39  void setPrintRouteSummary( bool print );
40 
41  bool printDrivingInstructions() const;
42 
43  void setPrintDrivingInstructions( bool print );
44 
45  bool printDrivingInstructionsAdvice() const;
46 
47  void setPrintDrivingInstructionsAdvice( bool print );
48 
49  void setBackgroundControlsEnabled( bool enabled );
50 
51  void setRouteControlsEnabled( bool enabled );
52 
53  void setLegendControlsEnabled( bool enabled );
54 };
55 
56 } // namespace Marble
57 
58 #endif // MARBLE_PRINTOPTIONSWIDGET_H
typedef WindowFlags
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:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.