eelke
38ae5f50e4
Moved code from TablesPage into seperate PropetiesPage component
...
Clears up the TablePage and makes rhe propertypage reusable.
2018-10-20 10:58:42 +02:00
eelke
2a75e86102
Added listing of triggers for selected table (not completely finished).
...
Used slightly different approach. This tab is fully build in source code
using subclasses to adjust behaviour of widgets for reuse in the other tabs.
Uses custom proxy model for filtering triggers for correct table and supporting
out of the box sorting by QTableView.
SqlCodePreview: QPlainTextEditor which sql highlighter and in readonly mode but allows copy.
2018-10-07 19:40:06 +02:00
eelke
780d912cd1
Adjusted project files for new boost version.
...
This should be handled differently the location of boost should not be baked into the project files.
2018-09-18 20:24:54 +02: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
8f4845d4d2
Lot of code for generating code. Working on unit tests.
2018-09-09 21:04:23 +02:00
Eelke Klein
8b7bbec807
Flexible models
2018-09-02 10:30:30 +00: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
c2d725ec6d
Ask confirmation before removing connection.
...
Close #5
2018-04-30 20:17:44 +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
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
14ab400ccb
Bezig met crudmodel/tab
2018-01-08 20:45:52 +01:00
eelke
97d4e2a1a4
Created IndexModel for displaying the indexes on a table. Constraints can now show the SQL to drop and create them.
...
The keyword list is now directly based of the official keyword list from postgresql.
2018-01-06 21:22:22 +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
22db22c6b1
Removed unused DatabaseInspectorWidget (had no code only ui design)
2017-12-29 10:26:51 +01:00
eelke
bb55ef12f3
Removed unused DatabaseWindow
2017-12-29 10:24:50 +01:00
eelke
f4538069cb
Moved several files from pglab project to pglablib
2017-12-29 10:21:10 +01:00
eelke
b5254ac723
Have a working model for showing the namespaces in a tree with checkboxes.
...
The namespaces are currently spit into user and system. Later we might
add recognizing namespaces introduced by specific modules/extensions.
2017-12-29 08:39:08 +01:00
eelke
36e5526f5f
Some stuff I had on another machine and which might provide useful.
2017-12-28 07:29:07 +01:00
eelke
1727b0d645
Created classes for loading constraints.
2017-12-20 22:05:39 +01:00
eelke
2a29bed75e
Fixed linking of botan library
2017-12-19 18:17:18 +01:00
eelke
aef9b914b1
Loading of index definitions
2017-12-17 11:28:20 +01:00
eelke
1fe7d3c56d
.
2017-12-16 21:43:51 +01:00
eelke
ad9ed1b698
Introduced new library for pglab code which I want to unit test.
...
Not everything can go into core because that would result in circular dependencies between core and pgsql.
2017-12-13 18:04:10 +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
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
43e6042794
First version of table overview tab, only design no implementation yet
2017-12-10 08:17:07 +01:00
eelke
e9f5fff6d3
Moved files to core.lib for unit testing
2017-12-09 16:43:28 +01:00
eelke
466920bf4e
Routines for converting the Param data to json.
2017-12-09 16:41:19 +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