Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
control
printctl.h
Go to the documentation of this file.
1
8
#ifndef _PRINT_CTL_H_
9
#define _PRINT_CTL_H_
10
11
// Includes
12
#include <QObject>
13
#include <QVariant>
14
#include <QVector>
15
#include <QStringList>
16
#include <QFile>
17
#include <QPrinterInfo>
18
19
// Forward declarations
20
class
CAMainWin
;
21
class
CASVGExport
;
22
23
class
CAPrintCtl
:
public
QObject
24
{
25
Q_OBJECT
26
27
public
:
28
CAPrintCtl
(
CAMainWin
*poMainWin );
29
~CAPrintCtl
();
30
31
public
slots:
32
void
on_uiPrint_triggered
();
33
void
on_uiPrintDirectly_triggered
();
34
35
protected
slots:
36
void
printSVG
(
int
iExitCode );
37
38
protected
:
39
void
printDocument
();
40
41
CAMainWin
*
_poMainWin
;
42
CASVGExport
*
_poSVGExport
;
43
QString
_oOutputSVGName
;
44
bool
_showDialog
;
// used when printing directly
45
};
46
47
#endif // _PRINT_CTL_H
48
Generated on Fri Jan 11 2013 14:40:12 for Canorus by
1.8.3