tilde~
Puredata Qt-based GUI
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
tilde~
graphicobjects
Grid.h
Go to the documentation of this file.
1
// (c) 2017 Alex Nadzharov
2
// License: GPL3
3
4
#ifndef GRID_H
5
#define GRID_H
6
7
#include "
UIItem.h
"
8
9
namespace
tilde {
10
14
class
Grid
:
public
UIItem
{
15
int
_gridStep;
16
17
public
:
18
Grid
();
19
20
void
setGridStep
(
int
gs) { _gridStep = gs; }
21
int
gridStep
() {
return
_gridStep; }
22
23
void
paint
(QPainter* p,
const
QStyleOptionGraphicsItem*, QWidget*);
24
};
25
}
26
27
#endif // GRID_H
tilde::Grid::gridStep
int gridStep()
Definition:
Grid.h:21
tilde::UIItem
UIItem QGraphicsObject class.
Definition:
UIItem.h:15
tilde::Grid::setGridStep
void setGridStep(int gs)
Definition:
Grid.h:20
UIItem.h
tilde::Grid
Grid for the canvas.
Definition:
Grid.h:14
tilde::Grid::paint
void paint(QPainter *p, const QStyleOptionGraphicsItem *, QWidget *)
Definition:
Grid.cpp:15
tilde::Grid::Grid
Grid()
Definition:
Grid.cpp:10
Generated on Mon Aug 28 2017 23:38:33 for tilde~ by
1.8.6