summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/cplusplus-lib.pri
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2011-07-08 09:56:02 +0200
committerLeandro T. C. Melo <leandro.melo@nokia.com>2011-07-08 14:50:26 +0200
commit23decd9d34dc1e4445e87960784edd8bd782f29d (patch)
treee874fe98d608641eb8c6ca505b0afed2d89bc2a1 /src/libs/cplusplus/cplusplus-lib.pri
parentb260bf1e733cb812ad14b99244a8aa6996bbd3b7 (diff)
downloadqt-creator-23decd9d34dc1e4445e87960784edd8bd782f29d.tar.gz
C++ editor: Improve type hierarchy widget
Now the type hierarchy widget will also show the classes derived from the selected one. For consistency the way the base classes are shown was changed too. The diagram below is an example from Creator's code when openining the type hierarchy for BaseTextEditorWidget: Bases +QObject +QWidget +... BaseTextEditorWidget +QPaintDevice +... BaseTextEditorWidget Derived +BaseTextEditorWidget +VCSBaseEditorWidget GitEditor MercurialEditor ... GLSLEditorWidget CppEditorWidget QmlJSTextEditorWidget ... Depending on the project and on the selected class the hierarchy widget might take a bit to be constructed. This should be improved later. Change-Id: Ifbdd1cbbba955a0bdf03297ff0e7620351b12dc5 Reviewed-on: http://codereview.qt.nokia.com/883 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/libs/cplusplus/cplusplus-lib.pri')
-rw-r--r--src/libs/cplusplus/cplusplus-lib.pri10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/libs/cplusplus/cplusplus-lib.pri b/src/libs/cplusplus/cplusplus-lib.pri
index f2683c7dac..d4e12f0599 100644
--- a/src/libs/cplusplus/cplusplus-lib.pri
+++ b/src/libs/cplusplus/cplusplus-lib.pri
@@ -52,7 +52,8 @@ HEADERS += \
$$PWD/pp-macro-expander.h \
$$PWD/pp-scanner.h \
$$PWD/ModelManagerInterface.h \
- $$PWD/findcdbbreakpoint.h
+ $$PWD/findcdbbreakpoint.h \
+ $$PWD/TypeHierarchyBuilder.h
SOURCES += \
$$PWD/SimpleLexer.cpp \
@@ -80,10 +81,7 @@ SOURCES += \
$$PWD/pp-macro-expander.cpp \
$$PWD/pp-scanner.cpp \
$$PWD/ModelManagerInterface.cpp \
- $$PWD/findcdbbreakpoint.cpp
+ $$PWD/findcdbbreakpoint.cpp \
+ $$PWD/TypeHierarchyBuilder.cpp
RESOURCES += $$PWD/cplusplus.qrc
-
-
-
-