Mapper  0.9.0
API documentation
Namespaces | Functions
printer_properties.cpp File Reference

(964b607 on 17 Jun 2016)

#include "printer_properties.h"
#include <QDialog>
Include dependency graph for printer_properties.cpp:

Namespaces

 PlatformPrinterProperties
 Provides platform-dependent printer properties handling.
 

Functions

void PlatformPrinterProperties::save (const QPrinter *printer, std::shared_ptr< void > &buffer)
 Saves the printer's platform-dependent properties. More...
 
void PlatformPrinterProperties::restore (QPrinter *printer, const std::shared_ptr< void > &buffer)
 Applies platform-dependent properties to the printer, if possible. More...
 
bool PlatformPrinterProperties::dialogSupported ()
 Returns true iff the platform supports execDialog(). More...
 
int PlatformPrinterProperties::execDialog (QPrinter *printer, std::shared_ptr< void > &buffer, QWidget *parent=nullptr)
 Shows a modal properties dialog for the given printer. More...