kexi
KexiSimplePrintingCommand Class Reference
#include <kexisimpleprintingpagesetup.h>
Detailed Description
A command for simple printing and print preview. This class is instantiated in KexiMainWindowImpl so there's:- a single print preview window per part item regardless of a way how user invoked the 'print preview' command (using 'File->Print Preview' command or 'Print Preview' button of the 'Page Setup' dialog)
- a single printing engine per part item regardless of a way how user started (using 'File->Print' command or 'Print' button of the 'Page Setup' dialog).
Definition at line 38 of file kexisimpleprintingpagesetup.h.
Public Slots | |
bool | print (const KexiSimplePrintingSettings &settings, const QString &aTitleText=QString::null) |
bool | print (const QString &aTitleText=QString::null) |
bool | showPrintPreview (const KexiSimplePrintingSettings &settings, const QString &aTitleText=QString::null, bool reload=false) |
Signals | |
void | showPageSetupRequested (KexiPart::Item *item) |
Public Member Functions | |
KexiSimplePrintingCommand (KexiMainWindow *mainWin, int objectId, QObject *parent=0) | |
~KexiSimplePrintingCommand () | |
Protected Slots | |
void | slotShowPageSetupRequested () |
Protected Attributes | |
KexiSimplePrintingEngine * | m_previewEngine |
KexiMainWindow * | m_mainWin |
int | m_objectId |
KexiSimplePrintingSettings | m_settings |
KexiSimplePrintPreviewWindow * | m_previewWindow |
bool | m_printPreviewNeedsReloading: 1 |
Member Function Documentation
bool KexiSimplePrintingCommand::print | ( | const QString & | aTitleText = QString::null |
) | [slot] |
Definition at line 77 of file kexisimpleprintingpagesetup.cpp.
void KexiSimplePrintingCommand::showPageSetupRequested | ( | KexiPart::Item * | item | ) | [signal] |
connected to Kexi Main Window
bool KexiSimplePrintingCommand::showPrintPreview | ( | const KexiSimplePrintingSettings & | settings, | |
const QString & | aTitleText = QString::null , |
|||
bool | reload = false | |||
) | [slot] |
Definition at line 229 of file kexisimpleprintingpagesetup.cpp.
The documentation for this class was generated from the following files: