Marble

PrintOptionsWidget.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Dennis Nienhüser <nienhueser@kde.org>
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
15namespace Marble
16{
17
18class MARBLE_EXPORT PrintOptionsWidget : public QWidget, private Ui::PrintOptions
19{
20 Q_OBJECT
21
22public:
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
Binds a QML item to a specific geodetic location in screen coordinates.
typedef WindowFlags
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.