aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cpptypehierarchy.h
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2012-01-12 18:58:45 +0100
committerLeandro Melo <leandro.melo@nokia.com>2012-01-17 10:22:51 +0100
commit1dc7e0d3ed19ff6b5f594b99c740ba335e4c05be (patch)
treeb8f29f11e3aef7289704c65a152b24931cc97060 /src/plugins/cppeditor/cpptypehierarchy.h
parentccb0a1bf9ebf61df5f2a3be330d8c57452fe3fa9 (diff)
C++: Don't show inspected type in type hierarcy bases/derived
Instead, show it on a label above. Task-number: QTCREATORBUG-6775 Change-Id: I7bf8e72c8a0ba1c07444230915d72b0cd9b66672 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/cppeditor/cpptypehierarchy.h')
-rw-r--r--src/plugins/cppeditor/cpptypehierarchy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cpptypehierarchy.h b/src/plugins/cppeditor/cpptypehierarchy.h
index 8e4a1a2ed3..0bb43f753c 100644
--- a/src/plugins/cppeditor/cpptypehierarchy.h
+++ b/src/plugins/cppeditor/cpptypehierarchy.h
@@ -43,6 +43,7 @@ QT_BEGIN_NAMESPACE
class QStandardItemModel;
class QStandardItem;
class QModelIndex;
+class QLabel;
template <class> class QVector;
QT_END_NAMESPACE
@@ -60,6 +61,7 @@ namespace Internal {
class CPPEditorWidget;
class CppClass;
+class CppClassLabel;
class CppTypeHierarchyWidget : public QWidget
{
@@ -84,6 +86,7 @@ private:
Utils::NavigationTreeView *m_treeView;
QStandardItemModel *m_model;
Utils::AnnotatedItemDelegate *m_delegate;
+ CppClassLabel *m_inspectedClass;
};
// @todo: Pretty much the same design as the OutlineWidgetStack. Maybe we can generalize the