diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-01-18 17:17:17 +0100 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-01-20 15:11:39 +0100 |
commit | f5039a4a022a31cc4c1330d35350ae39cf11b5dd (patch) | |
tree | 896474a7d5413705a93042d8347add6acc939f84 /src/libs/utils/crumblepath.h | |
parent | 6a829f5a8fa272bfb4bef92cf40d6d024756be69 (diff) | |
download | qt-creator-f5039a4a022a31cc4c1330d35350ae39cf11b5dd.tar.gz |
QmlJsInspector: implemented Property Inspector
Reviewed-by: Kai Koehne
Diffstat (limited to 'src/libs/utils/crumblepath.h')
-rw-r--r-- | src/libs/utils/crumblepath.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/utils/crumblepath.h b/src/libs/utils/crumblepath.h index 402a4109ae..62efb158d0 100644 --- a/src/libs/utils/crumblepath.h +++ b/src/libs/utils/crumblepath.h @@ -37,6 +37,7 @@ #include "utils_global.h" #include <QtGui/QWidget> +#include <QVariant> QT_FORWARD_DECLARE_CLASS(QResizeEvent) @@ -50,9 +51,11 @@ class QTCREATOR_UTILS_EXPORT CrumblePath : public QWidget public: explicit CrumblePath(QWidget *parent = 0); ~CrumblePath(); + void selectIndex(int index); + QVariant dataForIndex(int index) const; public slots: - void pushElement(const QString &title); + void pushElement(const QString &title, const QVariant data = QVariant()); void popElement(); void clear(); |