Some rudementary refresh support in crud tab bound to execute action (should be replaced with dynamic action list on form)

This commit is contained in:
eelke 2018-02-05 22:40:17 +01:00
parent 914d2fe9fa
commit ad3f605ada
5 changed files with 16 additions and 5 deletions

View file

@ -69,6 +69,7 @@ public:
virtual bool setData(const QModelIndex &index, const QVariant &value, int role) override;
void loadData();
public slots:
virtual bool submit() override;
virtual void revert() override;
@ -204,7 +205,6 @@ private:
RedirectVec m_redirectVector;
void loadData();
void loadIntoModel(std::shared_ptr<Pgsql::Result> data);
Value getData(const QModelIndex &index) const;