src/hbwidgets/dataform/hbdataformviewitem.h
changeset 1 f7ac710697a9
parent 0 16d8024aca5e
child 2 06ff229162e9
equal deleted inserted replaced
0:16d8024aca5e 1:f7ac710697a9
    35 class HbDataFormViewItemPrivate;
    35 class HbDataFormViewItemPrivate;
    36 
    36 
    37 class HB_WIDGETS_EXPORT HbDataFormViewItem : public HbAbstractViewItem
    37 class HB_WIDGETS_EXPORT HbDataFormViewItem : public HbAbstractViewItem
    38 {
    38 {
    39     Q_OBJECT
    39     Q_OBJECT
       
    40     Q_PROPERTY(bool expanded READ isExpanded WRITE setExpanded)
    40     
    41     
    41 public:
    42 public:
    42 
    43 
    43     enum StateKey {
    44     enum StateKey {
    44         ExpansionKey = 10
    45         ExpansionKey = 10
    86 
    87 
    87     virtual void pressStateChanged(bool value, bool animate);
    88     virtual void pressStateChanged(bool value, bool animate);
    88     void initStyleOption(HbStyleOptionDataFormViewItem *option) const;
    89     void initStyleOption(HbStyleOptionDataFormViewItem *option) const;
    89 
    90 
    90     void showEvent(QShowEvent * event);
    91     void showEvent(QShowEvent * event);
       
    92 
    91 private:
    93 private:
    92     Q_DECLARE_PRIVATE_D(d_ptr, HbDataFormViewItem)
    94     Q_DECLARE_PRIVATE_D(d_ptr, HbDataFormViewItem)
    93 };
    95 };
    94 
    96 
    95 #endif //HBDATAFORMITEM_H
    97 #endif //HBDATAFORMITEM_H