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_SELECTION_H 00008 #define TUTORIAL_STATE_CURVE_SELECTION_H 00009 00010 #include "TutorialStateAbstractBase.h" 00011 00012 class QGraphicsPixmapItem; 00013 class QGraphicsTextItem; 00014 class TutorialButton; 00015 class TutorialStateContext; 00016 00018 class TutorialStateCurveSelection : public TutorialStateAbstractBase 00019 { 00020 Q_OBJECT; 00021 00022 public: 00024 TutorialStateCurveSelection (TutorialStateContext &context); 00025 00026 virtual void begin (); 00027 virtual void end (); 00028 00029 public slots: 00031 void slotColorFilter(); 00032 00034 void slotNext(); 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 QGraphicsTextItem *m_text3; 00047 TutorialButton *m_previous; 00048 TutorialButton *m_colorFilter; 00049 TutorialButton *m_next; 00050 }; 00051 00052 #endif // TUTORIAL_STATE_CURVE_SELECTION_H