Commit graph

15 commits

Author SHA1 Message Date
eelke
d67224858d Focus query editor when opening new querytab.
Close #7
2018-04-21 14:36:33 +02:00
eelke
45b7d4fcbc show location of error in gutter and as selection
Close #3
2018-04-09 21:44:00 +02:00
eelke
47ee1857cd Added a gutter and currentline highlighting to the SQL editor.
Currently gutter only shows linenumbers. Code is mostly from http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html

There is a little bit included in this commit from a first try to make toobars adept to the current tab.

Code #2
2018-04-08 09:19:32 +02:00
eelke
3fb32f1200 Couple of minor changes. 2018-01-15 13:32:18 +01:00
eelke
abd4020ddf Decided to use signal slot mechanism
The automatic cross thread activation  is probably worth it.
2018-01-08 20:54:03 +01:00
eelke
a99f059b70 Added list of constraints to the tables page.
Last column shows the full textual definition until I have decided on
a better way to visualize the details.
2017-12-30 13:02:40 +01:00
eelke
23e307f93a The ASyncDBConnection class uses C++ std::function callbacks now for reporting notices and state changes.
While I like some aspects of Qt's signals and slots system I prefer to
rely on more standard C++.
2017-12-28 07:28:21 +01:00
eelke
190a6c04dc Made a start with showing foreignkeys in column list.
Not finished, need to decide what to do with multiple and multi column fkeys.
2017-12-25 10:31:58 +01:00
eelke
b5d800c87e Added type of column on second line in column headers of QueryResultModel. 2017-12-13 18:49:58 +01:00
eelke
397138eef1 Explain works with parameters to now.
Also de deduplicated the callback lambda in the normal query execution.
2017-12-12 20:15:07 +01:00
eelke
6466062cc8 pg_classes can be loaded now, used in TablesTableModel for overview of tables in database. 2017-12-10 10:35:46 +01:00
eelke
ea035f58c8 Bunch of raw pointers replaced with smart pointers of references. 2017-12-09 20:21:22 +01:00
eelke
3bf1ef4fe0 Moved QueryParamListController to its own translation unit. 2017-12-09 14:16:47 +01:00
eelke
3a13b7ffb4 Messy commit. Testing suff and some improvements to how data is shown. 2017-12-09 10:45:13 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Renamed from src/pglab/QueryTab.cpp (Browse further)