NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
qnlygraphicsgrid.h
1
#ifndef QNLYGRAPHICSGRID_H
2
#define QNLYGRAPHICSGRID_H
3
4
#include <QGraphicsRectItem>
5
#include <QPainter>
6
#include <QBrush>
7
#include <QPen>
8
9
class
QnlyGraphicsGrid
:
public
QGraphicsRectItem
10
{
11
public
:
12
QnlyGraphicsGrid
(QGraphicsItem* parent = 0, QGraphicsScene* scene = 0);
13
~
QnlyGraphicsGrid
();
14
15
void
setStep(qreal step);
16
17
qreal getStep();
18
19
void
setPen(QPen pen);
20
21
QPen getPen();
22
23
protected
:
24
virtual
void
paint(QPainter *painter,
const
QStyleOptionGraphicsItem *option, QWidget *widget);
25
26
private
:
27
qreal step;
28
29
QPen pen;
30
};
31
32
#endif // QNLYGRAPHICSGRID_H
composer-plugins
qncllayout
src
ui
view
qnlygraphicsgrid.h
Generated on Tue Jun 18 2013 16:03:01 for NCL Composer by
1.8.4