src/hbcore/primitives/hbframeitem.h
changeset 5 627c4a0fd0e7
parent 1 f7ac710697a9
child 21 4633027730f5
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    57     void setFrameDrawer(HbFrameDrawer *drawer);
    57     void setFrameDrawer(HbFrameDrawer *drawer);
    58 
    58 
    59     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
    59     void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
    60 
    60 
    61     enum { Type = Hb::ItemType_FrameItem };
    61     enum { Type = Hb::ItemType_FrameItem };
    62     int type() const { return Type; }
    62     int type() const {
       
    63         return Type;
       
    64     }
    63 
    65 
    64 protected:
    66 protected:
    65     void changeEvent(QEvent *event);
    67     void changeEvent(QEvent *event);
    66     QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const;
    68     QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const;
    67 
    69