demos/embedded/anomaly/src/ControlStrip.h
changeset 18 2f34d5167611
parent 0 1918ee327afb
child 19 fcece45ef507
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the demos of the Qt Toolkit.
     7 ** This file is part of the demos of the Qt Toolkit.
     8 **
     8 **
    56 
    56 
    57 signals:
    57 signals:
    58     void menuClicked();
    58     void menuClicked();
    59     void backClicked();
    59     void backClicked();
    60     void forwardClicked();
    60     void forwardClicked();
       
    61     void closeClicked ();
    61 
    62 
    62 protected:
    63 protected:
    63     void paintEvent(QPaintEvent *event);
    64     void paintEvent(QPaintEvent *event);
    64     void mousePressEvent(QMouseEvent *event);
    65     void mousePressEvent(QMouseEvent *event);
    65 
    66 
    66 private:
    67 private:
    67     QPixmap menuPixmap;
    68     QPixmap menuPixmap;
    68     QPixmap backPixmap;
    69     QPixmap backPixmap;
    69     QPixmap forwardPixmap;
    70     QPixmap forwardPixmap;
       
    71     QPixmap closePixmap;
    70 };
    72 };
    71 
    73 
    72 #endif // CONTROLSTRIP_H
    74 #endif // CONTROLSTRIP_H