Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialButtonRect.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef TUTORIAL_BUTTON_RECT_H
8#define TUTORIAL_BUTTON_RECT_H
9
10#include <QGraphicsRectItem>
11
12class TutorialButton;
13
15class TutorialButtonRect : public QGraphicsRectItem
16{
17 public:
20
23
24 private:
26
27 TutorialButton &m_tutorialButton;
28};
29
30#endif // TUTORIAL_BUTTON_RECT_H
const int INNER_RADIUS_MIN
This class customizes QGraphicsRectItem so it performs a callback after a mouse event.
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Forward mouse event to TutorialButton.
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...