Commit graph

10 commits

Author SHA1 Message Date
eelke
4c175d8c2c Added page with the types (no details yet) 2021-04-01 14:58:42 +02:00
eelke
60d8f36328 poc Add support for reloading the catalog
Reload works and the column page reacts correctly. Others to be checked
and fixed.
2019-10-06 13:52:45 +02:00
eelke
f6f275001e Type column of column table is coloured by type again. Close #49
The custom tableview in pgLab installs a custom delegate that tends to do what we
need automatically and is more efficient. However it doesn't support custom colouring
so we need to use the standard QStyledDelegate for the type column to get that working.
2019-07-07 14:37:42 +02:00
eelke
3fdd42ffb2 Collection of small fixes and improvements
- Selections stay clearly visible when focus changes to other widget
- Autoresize columns
- Table properties view now correctly allows selection in both columns and draws selection correctly
- Tables can be sorted again and now by any column
2019-02-09 14:59:33 +01:00
eelke
f6ea2ce0a6 Introduced own version of QTableView called PgLabTableView that has some other defaults. 2018-12-29 17:54:54 +01:00
eelke
6a2c8ec5e0 Do not use flat_set anymore gives compilation issues.
Not worth the time solving the issue without having prove of a clear benefit of
using flat_set over unordered_set.
2018-12-23 08:41:33 +01:00
eelke
31a77a1742 Triggers and Columns page now automatically resize columns to fit contents. 2018-12-16 20:38:57 +01:00
eelke
2f527a8380 Sort the list of columns for a table by attnum (creation order). 2018-12-16 12:49:44 +01:00
eelke
f0c1035378 Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder
Models go into model
2018-12-16 11:31:33 +01:00
eelke
57217974f4 New column page
Shows SQL for columns ALTER TABLE ... [ADD|DROP] COLUMN combines a selection
of multiple columns into a single alter table.
Show collation in list of columns.

(order of columns isn't what is should be but that should maybe be fixed
by a generic column selection and ordering mechanism that knows what the
default sort should be)
2018-11-29 20:21:36 +01:00