MyBooks
bin
cutereport_resources
include
abstractpainterdelegate.h
Go to the documentation of this file.
1
/***************************************************************************
2
* This file is part of the CuteReport project *
3
* Copyright (C) 2012-2017 by Alexander Mikhalov *
4
* alexander.mikhalov@gmail.com *
5
* *
6
** GNU General Public License Usage **
7
* *
8
* This library is free software: you can redistribute it and/or modify *
9
* it under the terms of the GNU General Public License as published by *
10
* the Free Software Foundation, either version 3 of the License, or *
11
* (at your option) any later version. *
12
* You should have received a copy of the GNU General Public License *
13
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
14
* *
15
** GNU Lesser General Public License **
16
* *
17
* This library is free software: you can redistribute it and/or modify *
18
* it under the terms of the GNU Lesser General Public License as *
19
* published by the Free Software Foundation, either version 3 of the *
20
* License, or (at your option) any later version. *
21
* You should have received a copy of the GNU Lesser General Public *
22
* License along with this library. *
23
* If not, see <http://www.gnu.org/licenses/>. *
24
* *
25
* This library is distributed in the hope that it will be useful, *
26
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
27
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
28
* GNU General Public License for more details. *
29
***************************************************************************/
30
31
32
#ifndef CUTEREPORT_ABSTRACTPAINTERDELEGATE_H
33
#define CUTEREPORT_ABSTRACTPAINTERDELEGATE_H
34
35
#include <QObject>
36
37
#include <
baseiteminterface.h
>
38
#include "
cutereport_globals.h
"
39
40
class
QStyleOptionGraphicsItem;
41
42
namespace
CuteReport
{
43
44
class
CUTEREPORT_EXPORTS
AbstractPainterDelegate
:
public
QObject
45
{
46
public
:
47
AbstractPainterDelegate
(QObject * parent = 0);
48
virtual
~
AbstractPainterDelegate
();
49
50
virtual
void
paint(QPainter * painter,
const
QRectF &paintRect, qint16 dpi) = 0;
51
};
52
53
54
}
// namespace CuteReport
55
56
#endif // CUTEREPORT_ABSTRACTPAINTERDELEGATE_H
CuteReport
Definition:
abstractpainterdelegate.h:42
baseiteminterface.h
cutereport_globals.h
CUTEREPORT_EXPORTS
#define CUTEREPORT_EXPORTS
Definition:
cutereport_globals.h:47
CuteReport::AbstractPainterDelegate
Definition:
abstractpainterdelegate.h:44
Generated by
1.8.13