Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialButtonText.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_TEXT_H
8#define TUTORIAL_BUTTON_TEXT_H
9
10#include <QGraphicsTextItem>
11
12class TutorialButton;
13
15class TutorialButtonText : public QGraphicsTextItem
16{
17 public:
20 const QString &text,
21 TutorialButtonRect *rect);
22
25
26 private:
28
29 TutorialButton &m_tutorialButton;
30};
31
32#endif // TUTORIAL_BUTTON_TEXT_H
const int INNER_RADIUS_MIN
This class customizes QGraphicsRectItem so it performs a callback after a mouse event.
This class customizes QGraphicsTextItem 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...