src/hbcore/primitives/hbslidertrackitem_p.h
changeset 28 b7da29130b0e
parent 0 16d8024aca5e
equal deleted inserted replaced
23:e6ad4ef83b23 28:b7da29130b0e
    39     void setInverted(bool inv);
    39     void setInverted(bool inv);
    40     void setMaskWidth(qreal width);
    40     void setMaskWidth(qreal width);
    41     void setOrientation(Qt::Orientation);
    41     void setOrientation(Qt::Orientation);
    42     void setSpan( qreal span);
    42     void setSpan( qreal span);
    43     void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
    43     void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 );
       
    44     void setHandleRect(QRectF handleRect);
    44     int minimum;
    45     int minimum;
    45     int maximum;
    46     int maximum;
    46     int value;
    47     int value;
    47     bool inverted;
    48     bool inverted;
    48     qreal maskWidth;
    49     qreal maskWidth;
    49     Qt::Orientation mOrientation;
    50     Qt::Orientation mOrientation;
    50     qreal trackSpan;
    51     qreal trackSpan;
    51     bool setMask;
    52     bool setMask;
       
    53     QRectF handleRect;
    52 protected:
    54 protected:
    53     void changeEvent(QEvent *event);
    55     void changeEvent(QEvent *event);
    54 };
    56 };
    55 
    57 
    56 #endif // HBSLIDERTRACKITEM_P_H
    58 #endif // HBSLIDERTRACKITEM_P_H