--- a/src/hbwidgets/widgets/hbgroupbox.h Fri May 14 16:09:54 2010 +0300
+++ b/src/hbwidgets/widgets/hbgroupbox.h Thu May 27 13:10:59 2010 +0300
@@ -39,6 +39,7 @@
Q_PROPERTY( bool marqueeHeading READ marqueeHeading WRITE setMarqueeHeading )
public:
+
explicit HbGroupBox( QGraphicsItem *parent = 0 );
~HbGroupBox( );
@@ -48,7 +49,7 @@
bool isCollapsable( ) const;
bool isCollapsed( ) const;
- void setMarqueeHeading( bool marquee = false );
+ void setMarqueeHeading( bool marquee = true );
bool marqueeHeading( ) const;
void setContentWidget( HbWidget *widget );
@@ -56,20 +57,28 @@
virtual QGraphicsItem *primitive( HbStyle::Primitive primitive ) const;
- enum { Type = Hb::ItemType_GroupBox };
- int type( ) const { return Type; }
+ enum {
+ Type = Hb::ItemType_GroupBox
+ };
+
+ int type( ) const {
+ return Type;
+ }
public slots:
+
void updatePrimitives( );
void setCollapsed( bool collapsed = true );
void setCollapsable( bool collapsable = true );
- signals:
+signals:
+
void clicked();
- void longPress(const QPointF &delta);
- void toggled(bool state);
+ void longPress( const QPointF &delta );
+ void toggled( bool state );
protected:
+
HbGroupBox( HbGroupBoxPrivate &dd, QGraphicsItem *parent );
private: