MyBooks
Public Types | Public Member Functions | Protected Attributes | List of all members
CuteReport::RenderedPageInterface Class Referenceabstract

#include <pageinterface.h>

Inheritance diagram for CuteReport::RenderedPageInterface:
Inheritance graph
[legend]
Collaboration diagram for CuteReport::RenderedPageInterface:
Collaboration graph
[legend]

Public Types

enum  { Type = QGraphicsItem::UserType + 12789 }
 
enum  ShowFlag {
  ShowNothing = 0x00, ShowBackground = 0x01, ShowPaperBorder = 0x04, ShowPageBorder = 0x08,
  ShowDefaultPreview = ShowBackground | ShowPaperBorder, ShowDefaultExport = ShowPaperBorder, ShowDefaultPrint = ShowNothing, ShowNothing = 0x00,
  ShowBackground = 0x01, ShowPaperBorder = 0x04, ShowPageBorder = 0x08, ShowDefaultPreview = ShowBackground | ShowPaperBorder,
  ShowDefaultExport = ShowPaperBorder, ShowDefaultPrint = ShowNothing
}
 
enum  { Type = QGraphicsItem::UserType + 12789 }
 
enum  ShowFlag {
  ShowNothing = 0x00, ShowBackground = 0x01, ShowPaperBorder = 0x04, ShowPageBorder = 0x08,
  ShowDefaultPreview = ShowBackground | ShowPaperBorder, ShowDefaultExport = ShowPaperBorder, ShowDefaultPrint = ShowNothing, ShowNothing = 0x00,
  ShowBackground = 0x01, ShowPaperBorder = 0x04, ShowPageBorder = 0x08, ShowDefaultPreview = ShowBackground | ShowPaperBorder,
  ShowDefaultExport = ShowPaperBorder, ShowDefaultPrint = ShowNothing
}
 

Public Member Functions

 RenderedPageInterface (QGraphicsItem *parent=0)
 
virtual ~RenderedPageInterface ()
 
virtual void setShowFlags (ShowFlags f)
 
virtual ShowFlags showFlags ()
 
virtual CuteReport::PageInterface::Orientation orientation () const =0
 
virtual QRectF paperRect (CuteReport::Unit unit) const =0
 
virtual QSizeF paperSize (CuteReport::Unit unit) const =0
 
virtual QRectF pageRect (CuteReport::Unit unit) const =0
 
virtual QSizeF pageSize (CuteReport::Unit unit) const =0
 
virtual int dpi () const =0
 
virtual void setDpi (int dpi)=0
 
virtual void redraw ()=0
 
virtual int type () const
 
 RenderedPageInterface (QGraphicsItem *parent=0)
 
virtual ~RenderedPageInterface ()
 
virtual void setShowFlags (ShowFlags f)
 
virtual ShowFlags showFlags ()
 
virtual CuteReport::PageInterface::Orientation orientation () const =0
 
virtual QRectF paperRect (CuteReport::Unit unit) const =0
 
virtual QSizeF paperSize (CuteReport::Unit unit) const =0
 
virtual QRectF pageRect (CuteReport::Unit unit) const =0
 
virtual QSizeF pageSize (CuteReport::Unit unit) const =0
 
virtual int dpi () const =0
 
virtual void setDpi (int dpi)=0
 
virtual void redraw ()=0
 
virtual int type () const
 

Protected Attributes

ShowFlags m_showFlags
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Type 

◆ anonymous enum

anonymous enum
Enumerator
Type 

◆ ShowFlag [1/2]

Enumerator
ShowNothing 
ShowBackground 
ShowPaperBorder 
ShowPageBorder 
ShowDefaultPreview 
ShowDefaultExport 
ShowDefaultPrint 
ShowNothing 
ShowBackground 
ShowPaperBorder 
ShowPageBorder 
ShowDefaultPreview 
ShowDefaultExport 
ShowDefaultPrint 

◆ ShowFlag [2/2]

Enumerator
ShowNothing 
ShowBackground 
ShowPaperBorder 
ShowPageBorder 
ShowDefaultPreview 
ShowDefaultExport 
ShowDefaultPrint 
ShowNothing 
ShowBackground 
ShowPaperBorder 
ShowPageBorder 
ShowDefaultPreview 
ShowDefaultExport 
ShowDefaultPrint 

Constructor & Destructor Documentation

◆ RenderedPageInterface() [1/2]

CuteReport::RenderedPageInterface::RenderedPageInterface ( QGraphicsItem *  parent = 0)
inlineexplicit

◆ ~RenderedPageInterface() [1/2]

virtual CuteReport::RenderedPageInterface::~RenderedPageInterface ( )
virtual

◆ RenderedPageInterface() [2/2]

CuteReport::RenderedPageInterface::RenderedPageInterface ( QGraphicsItem *  parent = 0)
inlineexplicit

◆ ~RenderedPageInterface() [2/2]

virtual CuteReport::RenderedPageInterface::~RenderedPageInterface ( )
virtual

Member Function Documentation

◆ dpi() [1/2]

virtual int CuteReport::RenderedPageInterface::dpi ( ) const
pure virtual

◆ dpi() [2/2]

virtual int CuteReport::RenderedPageInterface::dpi ( ) const
pure virtual

◆ orientation() [1/2]

virtual CuteReport::PageInterface::Orientation CuteReport::RenderedPageInterface::orientation ( ) const
pure virtual

◆ orientation() [2/2]

virtual CuteReport::PageInterface::Orientation CuteReport::RenderedPageInterface::orientation ( ) const
pure virtual

◆ pageRect() [1/2]

virtual QRectF CuteReport::RenderedPageInterface::pageRect ( CuteReport::Unit  unit) const
pure virtual

◆ pageRect() [2/2]

virtual QRectF CuteReport::RenderedPageInterface::pageRect ( CuteReport::Unit  unit) const
pure virtual

◆ pageSize() [1/2]

virtual QSizeF CuteReport::RenderedPageInterface::pageSize ( CuteReport::Unit  unit) const
pure virtual

◆ pageSize() [2/2]

virtual QSizeF CuteReport::RenderedPageInterface::pageSize ( CuteReport::Unit  unit) const
pure virtual

◆ paperRect() [1/2]

virtual QRectF CuteReport::RenderedPageInterface::paperRect ( CuteReport::Unit  unit) const
pure virtual

◆ paperRect() [2/2]

virtual QRectF CuteReport::RenderedPageInterface::paperRect ( CuteReport::Unit  unit) const
pure virtual

◆ paperSize() [1/2]

virtual QSizeF CuteReport::RenderedPageInterface::paperSize ( CuteReport::Unit  unit) const
pure virtual

◆ paperSize() [2/2]

virtual QSizeF CuteReport::RenderedPageInterface::paperSize ( CuteReport::Unit  unit) const
pure virtual

◆ redraw() [1/2]

virtual void CuteReport::RenderedPageInterface::redraw ( )
pure virtual

◆ redraw() [2/2]

virtual void CuteReport::RenderedPageInterface::redraw ( )
pure virtual

◆ setDpi() [1/2]

virtual void CuteReport::RenderedPageInterface::setDpi ( int  dpi)
pure virtual

◆ setDpi() [2/2]

virtual void CuteReport::RenderedPageInterface::setDpi ( int  dpi)
pure virtual

◆ setShowFlags() [1/2]

virtual void CuteReport::RenderedPageInterface::setShowFlags ( ShowFlags  f)
inlinevirtual

◆ setShowFlags() [2/2]

virtual void CuteReport::RenderedPageInterface::setShowFlags ( ShowFlags  f)
inlinevirtual

◆ showFlags() [1/2]

virtual ShowFlags CuteReport::RenderedPageInterface::showFlags ( )
inlinevirtual

◆ showFlags() [2/2]

virtual ShowFlags CuteReport::RenderedPageInterface::showFlags ( )
inlinevirtual

◆ type() [1/2]

virtual int CuteReport::RenderedPageInterface::type ( ) const
inlinevirtual

◆ type() [2/2]

virtual int CuteReport::RenderedPageInterface::type ( ) const
inlinevirtual

Member Data Documentation

◆ m_showFlags

ShowFlags CuteReport::RenderedPageInterface::m_showFlags
protected

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