#include <kexisimpleprintingpagesetup.h>
Inherits TQObject.
Public Slots | |
| bool | print (const KexiSimplePrintingSettings &settings, const TQString &aTitleText=TQString()) |
| bool | print (const TQString &aTitleText=TQString()) |
| bool | showPrintPreview (const KexiSimplePrintingSettings &settings, const TQString &aTitleText=TQString(), bool reload=false) |
Signals | |
| void | showPageSetupRequested (KexiPart::Item *item) |
Public Member Functions | |
| KexiSimplePrintingCommand (KexiMainWindow *mainWin, int objectId, TQObject *parent=0) | |
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 |
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.
Constructor & Destructor Documentation
◆ KexiSimplePrintingCommand()
| KexiSimplePrintingCommand::KexiSimplePrintingCommand | ( | KexiMainWindow * | mainWin, |
| int | objectId, | ||
| TQObject * | parent = 0 |
||
| ) |
Definition at line 49 of file kexisimpleprintingpagesetup.cpp.
◆ ~KexiSimplePrintingCommand()
| KexiSimplePrintingCommand::~KexiSimplePrintingCommand | ( | ) |
Definition at line 62 of file kexisimpleprintingpagesetup.cpp.
Member Function Documentation
◆ print [1/2]
|
slot |
Definition at line 70 of file kexisimpleprintingpagesetup.cpp.
◆ print [2/2]
|
slot |
◆ showPageSetupRequested
|
signal |
connected to Kexi Main Window
◆ showPrintPreview
|
slot |
- Todo:
- item not found
- Todo:
- progress bar...
Definition at line 229 of file kexisimpleprintingpagesetup.cpp.
◆ slotShowPageSetupRequested
|
protectedslot |
Definition at line 287 of file kexisimpleprintingpagesetup.cpp.
Member Data Documentation
◆ m_mainWin
|
protected |
Definition at line 65 of file kexisimpleprintingpagesetup.h.
◆ m_objectId
|
protected |
Definition at line 66 of file kexisimpleprintingpagesetup.h.
◆ m_previewEngine
|
protected |
Definition at line 64 of file kexisimpleprintingpagesetup.h.
◆ m_previewWindow
|
protected |
Definition at line 68 of file kexisimpleprintingpagesetup.h.
◆ m_printPreviewNeedsReloading
|
protected |
Definition at line 69 of file kexisimpleprintingpagesetup.h.
◆ m_settings
|
protected |
Definition at line 67 of file kexisimpleprintingpagesetup.h.
The documentation for this class was generated from the following files:
