Commit graph

21 commits

Author SHA1 Message Date
eelke
be0064f730 The codegen now can properly lookup array types.
Array type lookup failed previously because the typemapping class was
not yet receiving the list of types from the database. Fix was to pass
this data
2018-11-17 09:47:50 +01:00
eelke
f5145f36ed wip: codegenerator, basic widget present for showing the generated code and specifying
parameters. Some code is also generated but it is not complete yet.

minimum still required
- field assignments
- properly format and escape the query string
2018-09-18 11:54:43 +02:00
eelke
7c4f1a4752 fix: the source views for constraints and indexes are now cleared when the
model is reset as this will clear all selections.

Unfortunatly the selection model does not trigger a selectionChanged when
the model is reset.

Close #16
2018-08-05 11:57:27 +02:00
eelke
78a6666839 WIP moving actions for toolbar to module system. 2018-08-05 09:07:12 +02:00
eelke
3d516e6006 First tab at building a mechanism where tabpages can supply a list of actions that are added to the global main toolbar. 2018-05-14 20:24:41 +02:00
eelke
d67224858d Focus query editor when opening new querytab.
Close #7
2018-04-21 14:36:33 +02:00
eelke
51d72c7f20 Can close CRUD tabs now
Close #6
2018-04-10 20:21:50 +02:00
eelke
ad3f605ada Some rudementary refresh support in crud tab bound to execute action (should be replaced with dynamic action list on form) 2018-02-05 22:40:17 +01:00
eelke
07c1b63d44 Tab of crud view now shows name of the table. 2018-01-15 13:31:06 +01:00
eelke
2ba27178a2 Double clicking a table now opens a CRUD page for that table however data cannot be changed yet thought it will display an editbox. 2018-01-09 20:39:43 +01:00
eelke
a06c752029 Misc minor changes. 2017-12-28 09:20:42 +01:00
eelke
2705a3417b The MainWindow now uses a background task to load the catalog.
As the background task can't be cancelled yet only closing of the window
can block if the task is still running.
2017-12-28 07:23:20 +01:00
eelke
554f138d6d Made slow part of MainWindow initialization asynchronous. 2017-12-25 15:33:10 +01:00
eelke
23840ce7c5 Cosmetic improvements. 2017-12-19 19:55:12 +01:00
eelke
6599498556 Better handling of not being able to connect to the database. 2017-12-19 19:06:36 +01:00
eelke
c37e9eccb8 Better error reporting of problems during catalog load. 2017-12-19 18:17:41 +01:00
eelke
0b088a2723 Fixed several warnings. 2017-12-16 21:41:46 +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
e9d72d391d PgAttribute loading + ColummnTableModel
Required enchancement to PgContainer to make multifield key work.
2017-12-12 20:13:53 +01:00
eelke
f9caadb59e For testing purposes a new table tab is created when a querytab is created. 2017-12-10 14:20:45 +01:00
eelke
bebb3391c3 Builds on windows again 2017-11-26 13:07:21 +01:00
Renamed from src/pglab/MainWindow.cpp (Browse further)