--- a/src/hbwidgets/widgets/hbsearchpanel.h Mon Apr 19 14:02:13 2010 +0300
+++ b/src/hbwidgets/widgets/hbsearchpanel.h Mon May 03 12:48:33 2010 +0300
@@ -36,6 +36,9 @@
Q_PROPERTY( bool progressive READ isProgressive WRITE setProgressive )
Q_PROPERTY( bool searchOptions READ isSearchOptionsEnabled WRITE setSearchOptionsEnabled )
+ Q_PROPERTY( bool cancel READ isCancelEnabled WRITE setCancelEnabled )
+ Q_PROPERTY(QString criteria READ criteria WRITE setCriteria USER true)
+ Q_PROPERTY(QString placeholderText READ placeholderText WRITE setPlaceholderText)
public:
explicit HbSearchPanel(QGraphicsItem *parent = 0);
@@ -47,6 +50,16 @@
void setSearchOptionsEnabled(bool enabled);
bool isSearchOptionsEnabled() const;
+ void setCancelEnabled(bool enabled);
+ bool isCancelEnabled() const;
+
+ QString placeholderText() const;
+ void setPlaceholderText(const QString &text);
+
+ QString criteria() const;
+ void setCriteria(const QString &text);
+
+
signals:
void searchOptionsClicked();
void criteriaChanged(const QString &criteria);