Commit 897ca7a6 authored by hjk's avatar hjk
Browse files

Debugger: Simplify debuggertooltipmanager.h

Change-Id: Iaa4204d374913c65e322b2a00831caeb1b3b1ccc
Reviewed-by: default avatarhjk <>
parent 4b57427e
......@@ -35,16 +35,14 @@
#include <QCoreApplication>
#include <QDate>
#include <QTreeView>
#include <QPoint>
class QDebug;
class QAbstractItemModel;
namespace Core { class IEditor; }
namespace TextEditor { class BaseTextEditor; class TextEditorWidget; }
namespace Debugger {
class DebuggerEngine;
namespace Internal {
......@@ -72,27 +70,6 @@ public:
typedef QList<DebuggerToolTipContext> DebuggerToolTipContexts;
QDebug operator<<(QDebug, const DebuggerToolTipContext &);
class DebuggerToolTipTreeView : public QTreeView
explicit DebuggerToolTipTreeView(QWidget *parent = 0);
QAbstractItemModel *swapModel(QAbstractItemModel *model);
QSize sizeHint() const { return m_size; }
void computeSize();
void expandNode(const QModelIndex &idx);
void collapseNode(const QModelIndex &idx);
int computeHeight(const QModelIndex &index) const;
QSize m_size;
class DebuggerToolTipManager : public QObject
......@@ -123,13 +100,6 @@ public:
static void loadSessionData();
static void saveSessionData();
static void closeAllToolTips();
static void hide();
static void slotUpdateVisibleToolTips();
void slotEditorOpened(Core::IEditor *);
void slotTooltipOverrideRequested(TextEditor::TextEditorWidget *editorWidget,
const QPoint &point, int pos, bool *handled);
} // namespace Internal
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment