Qt 5.10 Book Examples
Public Slots | Public Member Functions | Protected Member Functions | List of all members
Printer Class Reference

#include <Printer.h>

Inheritance diagram for Printer:

Public Slots

void slotPrint ()
 

Public Member Functions

 Printer (QWidget *pwgt=0)
 
virtual ~Printer ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *pe)
 
void draw (QPaintDevice *ppd)
 

Detailed Description

Definition at line 19 of file Printer.h.

Constructor & Destructor Documentation

◆ Printer()

Printer::Printer ( QWidget *  pwgt = 0)

Definition at line 16 of file Printer.cpp.

◆ ~Printer()

Printer::~Printer ( )
virtual

Definition at line 22 of file Printer.cpp.

Member Function Documentation

◆ draw()

void Printer::draw ( QPaintDevice *  ppd)
protected

Definition at line 45 of file Printer.cpp.

◆ paintEvent()

void Printer::paintEvent ( QPaintEvent *  pe)
protectedvirtual

Definition at line 28 of file Printer.cpp.

◆ slotPrint

void Printer::slotPrint ( )
slot

Definition at line 34 of file Printer.cpp.


The documentation for this class was generated from the following files: