12 #include <QGraphicsView>
47 void drawCross(QPainter* p, QPoint matrixPos);
48 void drawBox(QPainter* p, QPoint matrixPos);
66 virtual void paint(QPainter* p,
const QStyleOptionGraphicsItem* option, QWidget*);
Definition: UIMatrix.h:21
Definition: UIMatrix.h:22
virtual void paint(QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *)
draws buttons as boxes
Definition: UIMatrix.cpp:228
Definition: UIMatrix.h:19
void paintHRadio(QPainter *p)
Definition: UIMatrix.cpp:190
void updateUI(t_cpd_list *msg)
Definition: UIMatrix.cpp:377
void paintButtonMatrix(QPainter *p)
draws buttons as ui.toggle
Definition: UIMatrix.cpp:222
void paintVRadio(QPainter *p)
Definition: UIMatrix.cpp:204
UIMatrix()
Definition: UIMatrix.cpp:16
void initProperties()
Definition: UIMatrix.cpp:48
void drawCross(QPainter *p, QPoint matrixPos)
Definition: UIMatrix.cpp:98
int radioSize()
Definition: UIMatrix.cpp:161
void drawBox(QPainter *p, QPoint matrixPos)
Definition: UIMatrix.cpp:108
Definition: UIMatrix.h:17
Definition: UIMatrix.h:18
void mouseReleaseEvent(QGraphicsSceneMouseEvent *)
Definition: UIMatrix.cpp:357
void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition: UIMatrix.cpp:359
uiMatrixType
Definition: UIMatrix.h:16
void mousePressEvent(QGraphicsSceneMouseEvent *ev)
Definition: UIMatrix.cpp:281
void resizeEvent()
Definition: UIMatrix.cpp:272
Q_SLOT void propertyMatrixSize()
Definition: UIMatrix.cpp:72
static UIObject * createObj(QString data)
Definition: UIMatrix.cpp:32
QRect rectFromMatrixPos(QPoint matrixPos)
Definition: UIMatrix.cpp:172
void paintToggleMatrix(QPainter *p)
draws buttons as ui.toggle
Definition: UIMatrix.cpp:218
Definition: UIObject.h:44
Q_SLOT void propertyUpdate()
Definition: UIMatrix.cpp:67
uiMatrixType matrixType()
Definition: UIMatrix.cpp:125
Definition: UIMatrix.h:20
gui object: ui.matrix - substitute all objects with multiple buttons (hradio, vradio, ui.matrix)
Definition: UIMatrix.h:29