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