Add support for deleting rows in views which are unlocked for editing

If a view has been unlocked for editing by specifiying a pseudo primary
key, with this commit you can now delete records from the view if an
appropriate trigger exists.

See issue #141.
This commit is contained in:
Martin Kleusberg
2018-06-07 16:08:08 +02:00
parent ea25618f22
commit f51b44d8d7
5 changed files with 43 additions and 29 deletions

View File

@@ -176,7 +176,7 @@ private:
void setCurrentFile(const QString& fileName);
void addToRecentFilesMenu(const QString& filename);
void activateFields(bool enable = true);
void enableEditing(bool enable_edit, bool enable_insertdelete);
void enableEditing(bool enable_edit, bool enable_insert);
void loadExtensionsFromSettings();
void saveAsView(QString query);
void duplicateRecord(int currentRow);