24 static void setPluginMimeData(
const QVariant &mimeData);
25 static QVariant pluginMimeData();
27 static bool setCurrentPlugin(
const QString &pluginName);
28 static QString currentPlugin();
30 static QStringList availablePlugins();
32 void paintRequested(
DPrinter *printer);
33 void paintRequested(
DPrinter *printer,
const QVector<int> &pageRange);
37 D_PRIVATE_SLOT(
void _q_printerChanged(
int))
38 D_PRIVATE_SLOT(
void _q_pageRangeChanged(
int))
39 D_PRIVATE_SLOT(
void _q_pageMarginChanged(
int))
40 D_PRIVATE_SLOT(
void _q_ColorModeChange(
int))
41 D_PRIVATE_SLOT(
void _q_startPrint(
bool))
42 D_PRIVATE_SLOT(
void _q_orientationChanged(
int))
43 D_PRIVATE_SLOT(
void _q_customPagesFinished())
44 D_PRIVATE_SLOT(
void _q_marginspinChanged(
double))
45 D_PRIVATE_SLOT(
void _q_marginEditFinished())
46 D_PRIVATE_SLOT(
void _q_currentPageSpinChanged(
int))
47 D_PRIVATE_SLOT(
void _q_checkStateChanged(
int))
48 D_PRIVATE_SLOT(
void _q_textWaterMarkModeChanged(
int))
49 D_PRIVATE_SLOT(
void _q_customTextWatermarkFinished())
50 D_PRIVATE_SLOT(
void _q_colorButtonCliked(
bool))
51 D_PRIVATE_SLOT(
void _q_selectColorButton(QColor))
52 D_PRIVATE_SLOT(
void _q_pagePersheetComboIndexChanged(
int))
53 D_PRIVATE_SLOT(
void _q_printOrderComboIndexChanged(
int))
54 D_PRIVATE_SLOT(
void _q_spinboxValueEmptyChecked(
const QString &))
56 virtual bool event(QEvent *event)
override;
57 bool eventFilter(QObject *watched, QEvent *event)
override;
58 void setDocName(
const QString &);
59 QString docName()
const;
61 bool setPrintFromPath(
const QString &path = QString());
62 QString printFromPath()
const;
64 bool setAsynPreview(
int totalPage);
65 bool isAsynPreview()
const;
72 virtual void resizeEvent(QResizeEvent *event)
override;
73 void timerEvent(QTimerEvent *event)
override;