DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
Dtk::Widget::DPrintPreviewWidgetPrivate类 参考
类 Dtk::Widget::DPrintPreviewWidgetPrivate 继承关系图:
Dtk::Widget::DFramePrivate

struct  NumberUpData
 

Public 类型

enum  RefreshMode { RefreshImmediately , RefreshDelay }
 

Public 成员函数

 DPrintPreviewWidgetPrivate (DPrintPreviewWidget *qq)
 
void init ()
 
void populateScene ()
 
void updatePreview ()
 
void generatePreview ()
 
void fitView ()
 
void print (bool printAsPicture=false)
 
void updatePageByPagePrintVector (QVector< int > &pageVector, QList< const QPicture * > &pictures) const
 
void asynPrint (const QPointF &leftTop, const QRect &pageRect, const QVector< int > &pageVector)
 
void syncPrint (const QPointF &leftTop, const QRect &pageRect, const QVector< int > &pageVector)
 
void printAsImage (const QSize &paperSize, QVector< int > &pageVector)
 
void printSinglePageDrawUtil (QPainter *painter, const QSize &translateSize, const QPointF &leftTop, const QImage &waterImage, const QPicture *picture)
 
void printMultiPageDrawUtil (QPainter *painter, const QPointF &leftTop, const QImage &waterImage)
 
void setPageRangeAll ()
 
void setCurrentPage (int page)
 
int pagesCount ()
 
int targetPage (int page)
 
int index2page (int index)
 
int page2index (int page)
 
int impositionPages (DPrintPreviewWidget::Imposition im)
 
QImage generateWaterMarkImage () const
 
PrintOptions printerOptions ()
 
void printByCups ()
 
void generatePreviewPicture ()
 
void calculateNumberUpPage ()
 
void calculateNumberPagePosition ()
 
void updateNumberUpContent ()
 
QVector< int > requestPages (int page)
 
void releaseImpositionData ()
 
void displayWaterMarkItem ()
 
void calculateNumberPageScale ()
 
void calculateCurrentNumberPage ()
 
QByteArray foundColorModelByCups () const
 
void setCurrentPageNumber (int page)
 
- Public 成员函数 继承自 Dtk::Widget::DFramePrivate
 DFramePrivate (DFrame *qq)
 

Public 属性

GraphicsViewgraphicsView
 
QGraphicsScene * scene
 
QList< QPicture > targetPictures
 
QList< const QPicture * > pictures
 
QList< QGraphicsItem * > pages
 
QGraphicsRectItem * background
 
WaterMarkwaterMark
 
QVector< int > pageRange
 
int currentPageNumber = 0
 
DPrinter::ColorMode colorMode
 
DPrintPreviewWidget::Imposition imposition
 
DPrintPreviewWidget::Order order
 
qreal scale = 1.0
 
DPrintPreviewWidget::PageRange pageRangeMode = DPrintPreviewWidget::AllPage
 
DPrinterpreviewPrinter
 
RefreshMode refreshMode
 
QString printFromPath
 
DPrintPreviewWidget::PrintMode printMode
 
bool isAsynPreview
 
QVector< int > previewPages
 
bool asynPreviewNeedUpdate
 
int asynPreviewTotalPage
 
int pageCopyCount = 0
 
bool isFirstPage
 
NumberUpDatanumberUpPrintData
 
QBasicTimer updateTimer
 
- Public 属性 继承自 Dtk::Widget::DFramePrivate
bool frameRounded
 
DPalette::ColorType backType
 

该类的文档由以下文件生成: