00001 /****************************************************************************************************** 00002 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released * 00003 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file * 00004 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. * 00005 ******************************************************************************************************/ 00006 00007 #ifndef TUTORIAL_STATE_CURVE_TYPE_H 00008 #define TUTORIAL_STATE_CURVE_TYPE_H 00009 00010 #include "TutorialStateAbstractBase.h" 00011 00012 class QGraphicsPixmapItem; 00013 class QGraphicsTextItem; 00014 class TutorialButton; 00015 class TutorialStateContext; 00016 00018 class TutorialStateCurveType : public TutorialStateAbstractBase 00019 { 00020 Q_OBJECT; 00021 00022 public: 00024 TutorialStateCurveType (TutorialStateContext &context); 00025 00026 virtual void begin (); 00027 virtual void end (); 00028 00029 public slots: 00031 void slotNextCurves(); 00032 00034 void slotNextLines(); 00035 00037 void slotPrevious (); 00038 00039 private: 00040 00041 QGraphicsTextItem *m_title; 00042 QGraphicsPixmapItem *m_background; 00043 QGraphicsTextItem *m_text0; 00044 QGraphicsTextItem *m_text1; 00045 QGraphicsTextItem *m_text2; 00046 TutorialButton *m_previous; 00047 TutorialButton *m_nextLines; 00048 TutorialButton *m_nextPoints; 00049 }; 00050 00051 #endif // TUTORIAL_STATE_CURVE_TYPE_H