Added explain functionality.

Uses json format with jsoncpp as a parser. Then show it in a QTreeView.
Shows inclusive/exclusive times like explain.despesz does. Also a similar
coloring scheme as applied.
This commit is contained in:
Eelke Klein 2016-12-29 13:48:35 +01:00
parent 0d30dc9080
commit 8af6bc4ac5
14 changed files with 9089 additions and 33 deletions

View file

@ -21,14 +21,19 @@ SOURCES += main.cpp\
sqlparser.cpp \
PgsqlConn.cpp \
queryresultmodel.cpp \
sqlhighlighter.cpp
sqlhighlighter.cpp \
jsoncpp.cpp \
queryexplainmodel.cpp \
explaintreemodelitem.cpp
HEADERS += mainwindow.h \
serverproperties.h \
sqlparser.h \
PgsqlConn.h \
queryresultmodel.h \
sqlhighlighter.h
sqlhighlighter.h \
queryexplainmodel.h \
explaintreemodelitem.h
FORMS += mainwindow.ui \
serverproperties.ui