Eelke Klein
7f379f3b80
Moved everything associated with executing and explaining queries to querytab.
...
It is now possible to create multiple independent query tabs. However
somethings are currently a bit broken.
2017-01-21 18:16:57 +01:00
Eelke Klein
6c268bd774
Also added "Save copy as"
...
This prompts for a new filename but it keeps remembering the previous name.
2017-01-21 08:19:47 +01:00
Eelke Klein
69ac154b07
FIlename is now remembered and used by save. Save as added.
2017-01-21 08:09:12 +01:00
Eelke Klein
5831f18008
If there is a selection in the query then only that part is Executed or explained.
...
Replaced QTextEdit with QPLainTextEdit as it is more efficient and CAN do syntax highlighting.
2017-01-16 17:31:46 +01:00
Eelke Klein
c555182ddd
No line wrap in query editbox.
2017-01-16 16:51:06 +01:00
Eelke Klein
81f3d3f1f8
Several shortcuts to query window
...
Ctrl+O open
Ctrl+S save
F5 run query
Shift+F7 explain analyze
Alt+Pause cancel query/explain
2017-01-16 16:48:40 +01:00
Eelke Klein
d19741f111
Connection manager can now open a query window for selected connection.
...
Query window has now buttons with icons made in the designer for better looks.
Depending on received responses from the database the tabcontrol with the message, data and explain tab
now switches to the appropriate tab.
2017-01-15 21:01:40 +01:00
Eelke Klein
be1892ac52
Wat copy paste code en csvwriter alvast toegevoegd maar nog uitgeschakeld.
2017-01-13 19:09:58 +01:00
Eelke Klein
cc5bbab0f5
Added menu items for saving, loading, export data, closing window and about.
...
Saving and loading of SQL and close is implemented.
2017-01-09 07:39:09 +01:00
Eelke Klein
5f3ddb80c6
Show elapsed time during queries and show execute and plan time above query explain.
2017-01-08 15:16:16 +01:00
Eelke Klein
a36bf5f7f4
Query, Explain and Cancel are going throught the asyncdbconnection now.
...
Todo: Notice processing and error reporting.
2017-01-08 09:58:34 +01:00
Eelke Klein
8af6bc4ac5
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.
2016-12-29 13:48:35 +01:00
Eelke Klein
edc6df25da
Initial commit. Contains a simple query tool.
2016-12-26 16:06:55 +01:00