Add recordpanel beside datagrid

This commit is contained in:
eelke 2026-10-20 18:58:10 +02:00
parent d178d5191c
commit 04ce099adf
12 changed files with 538 additions and 8 deletions

View file

@ -31,6 +31,9 @@ public:
/// Show an arbitrary query result, cells are editable where the result maps them to a table with a primary key
void setResult(std::shared_ptr<OpenDatabase> db, std::shared_ptr<Pgsql::Result> result);
/// Number of grid columns in front of the result columns (the row number column)
static constexpr int PreColumnCount = 1;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
@ -62,10 +65,6 @@ signals:
private:
/// Number of grid columns in front of the result columns (the row number column)
static constexpr int PreColumnCount = 1;
class ColumnSort {
public:
enum Direction { Ascending, Descending };