6#include "PrintOptionsWidget.h"
17bool PrintOptionsWidget::printMap()
const
19 return mapCheckBox->isChecked();
22void PrintOptionsWidget::setPrintMap(
bool print)
24 mapCheckBox->setChecked(print);
27bool PrintOptionsWidget::printBackground()
const
29 return backgroundCheckBox->isChecked();
32void PrintOptionsWidget::setPrintBackground(
bool print)
34 backgroundCheckBox->setChecked(print);
37bool PrintOptionsWidget::printLegend()
const
39 return legendCheckBox->isChecked();
42void PrintOptionsWidget::setPrintLegend(
bool print)
44 legendCheckBox->setChecked(print);
47bool PrintOptionsWidget::printRouteSummary()
const
49 return routeSummaryCheckBox->isChecked();
52void PrintOptionsWidget::setPrintRouteSummary(
bool print)
54 routeSummaryCheckBox->setChecked(print);
57bool PrintOptionsWidget::printDrivingInstructions()
const
59 return drivingInstructionsCheckBox->isChecked();
62void PrintOptionsWidget::setPrintDrivingInstructions(
bool print)
64 drivingInstructionsCheckBox->setChecked(print);
67void PrintOptionsWidget::setBackgroundControlsEnabled(
bool enabled)
69 backgroundCheckBox->setEnabled(enabled);
72void PrintOptionsWidget::setLegendControlsEnabled(
bool enabled)
74 legendCheckBox->setEnabled(enabled);
77void PrintOptionsWidget::setRouteControlsEnabled(
bool enabled)
79 routeGroupBox->setEnabled(enabled);
82bool PrintOptionsWidget::printDrivingInstructionsAdvice()
const
84 return drivingInstructionsAdviceCheckBox->isChecked();
87void PrintOptionsWidget::setPrintDrivingInstructionsAdvice(
bool enabled)
89 drivingInstructionsAdviceCheckBox->setChecked(enabled);
94#include "moc_PrintOptionsWidget.cpp"
Binds a QML item to a specific geodetic location in screen coordinates.