Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
graphicsscene.h
Go to the documentation of this file.
1
#ifndef GRAPHICSSCENE_H
2
#define GRAPHICSSCENE_H
3
4
#include <QGraphicsScene>
5
6
class
GraphicsScene
:
public
QGraphicsScene {
7
bool
m_overlay;
8
QPen m_overlayPen;
9
QPointF m_overlayPos;
10
11
public
:
12
explicit
GraphicsScene
( QObject *parent = 0 );
13
void
setOverlay
(
bool
overlay
);
14
void
setOverlayPen
(
const
QPen &overlayPen );
15
void
setOverlayPos
( QPointF pos );
16
bool
overlay
( )
const
;
17
QPointF
overlayPos
( )
const
;
18
19
protected
:
20
void
drawForeground
( QPainter *painter,
const
QRectF &rect );
21
};
22
23
#endif
/* GRAPHICSSCENE_H */
GraphicsScene::setOverlayPen
void setOverlayPen(const QPen &overlayPen)
Definition:
graphicsscene.cpp:14
GraphicsScene
Definition:
graphicsscene.h:6
GraphicsScene::drawForeground
void drawForeground(QPainter *painter, const QRectF &rect)
Definition:
graphicsscene.cpp:33
GraphicsScene::setOverlayPos
void setOverlayPos(QPointF pos)
Definition:
graphicsscene.cpp:19
GraphicsScene::overlay
bool overlay() const
Definition:
graphicsscene.cpp:24
GraphicsScene::GraphicsScene
GraphicsScene(QObject *parent=0)
Definition:
graphicsscene.cpp:8
GraphicsScene::overlayPos
QPointF overlayPos() const
Definition:
graphicsscene.cpp:4
GraphicsScene::setOverlay
void setOverlay(bool overlay)
Definition:
graphicsscene.cpp:28
BIAL-GUI
src
graphicsscene.h
Generated by
1.8.11