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.
39 lines
806 B
Prolog
39 lines
806 B
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = Ivory
|
|
TEMPLATE = app
|
|
|
|
INCLUDEPATH += C:\prog\include
|
|
|
|
LIBS += c:\prog\lib\libpq.lib
|
|
|
|
SOURCES += main.cpp\
|
|
mainwindow.cpp \
|
|
serverproperties.cpp \
|
|
sqlparser.cpp \
|
|
PgsqlConn.cpp \
|
|
queryresultmodel.cpp \
|
|
sqlhighlighter.cpp \
|
|
jsoncpp.cpp \
|
|
queryexplainmodel.cpp \
|
|
explaintreemodelitem.cpp
|
|
|
|
HEADERS += mainwindow.h \
|
|
serverproperties.h \
|
|
sqlparser.h \
|
|
PgsqlConn.h \
|
|
queryresultmodel.h \
|
|
sqlhighlighter.h \
|
|
queryexplainmodel.h \
|
|
explaintreemodelitem.h
|
|
|
|
FORMS += mainwindow.ui \
|
|
serverproperties.ui
|