Changeset View
Changeset View
Standalone View
Standalone View
debugger/variable/variabletooltip.h
Show All 37 Lines | 33 | { | |||
---|---|---|---|---|---|
38 | 38 | | |||
39 | class VariableToolTip : public ActiveToolTip | 39 | class VariableToolTip : public ActiveToolTip | ||
40 | { | 40 | { | ||
41 | Q_OBJECT | 41 | Q_OBJECT | ||
42 | public: | 42 | public: | ||
43 | VariableToolTip(QWidget* parent, const QPoint& position, | 43 | VariableToolTip(QWidget* parent, const QPoint& position, | ||
44 | const QString& identifier); | 44 | const QString& identifier); | ||
45 | Variable* variable() const { return m_var; }; | 45 | Variable* variable() const { return m_var; }; | ||
46 | private slots: | 46 | private Q_SLOTS: | ||
47 | void variableCreated(bool hasValue); | 47 | void variableCreated(bool hasValue); | ||
48 | void slotLinkActivated(const QString& link); | 48 | void slotLinkActivated(const QString& link); | ||
49 | void slotRangeChanged(int min, int max); | 49 | void slotRangeChanged(int min, int max); | ||
50 | 50 | | |||
51 | private: | 51 | private: | ||
52 | TreeModel* m_model; | 52 | TreeModel* m_model; | ||
53 | Variable* m_var; | 53 | Variable* m_var; | ||
54 | QItemSelectionModel* m_selection; | 54 | QItemSelectionModel* m_selection; | ||
55 | int m_itemHeight; | 55 | int m_itemHeight; | ||
56 | AsyncTreeView* m_view; | 56 | AsyncTreeView* m_view; | ||
57 | QSortFilterProxyModel* m_proxy; | 57 | QSortFilterProxyModel* m_proxy; | ||
58 | }; | 58 | }; | ||
59 | } | 59 | } | ||
60 | 60 | | |||
61 | #endif | 61 | #endif |