diff options
Diffstat (limited to 'hyperui/menuview.h')
| -rw-r--r-- | hyperui/menuview.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hyperui/menuview.h b/hyperui/menuview.h index f649d33..7c73d82 100644 --- a/hyperui/menuview.h +++ b/hyperui/menuview.h @@ -34,6 +34,8 @@ #include "view.h" +class QAbstractAnimation; + class MenuView : public View { @@ -46,6 +48,29 @@ protected slots: void onPhoneClicked(); protected: + int m_vSpacing; + int m_hSpacing; + int m_topMargin; + int m_leftMargin; + QPointF m_mainIconIPos; + QPointF m_mainIconFPos; + + Button *m_btnTwitter; + Button *m_btnEmail; + Button *m_btnSettings; + Button *m_btnMusic; + Button *m_btnNavigation; + Button *m_btnChat; + Button *m_btnGames; + Button *m_btnWeb; + Button *m_btnFolder; + Button *m_btnCalendar; + Button *m_btnCamera; + Button *m_btnPhone; + + void createStateMachine(); + QAbstractAnimation *createInOutAnimation(bool out); + Button *addIcon(const QPixmap &pixmap, const QPointF &pos, const char *slot = 0); }; |
