forked from qt-creator/qt-creator
		
	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>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Leandro T. C. Melo
					
				
			
			
				
	
			
			
			
						parent
						
							b260bf1e73
						
					
				
				
					commit
					23decd9d34
				
			@@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user