mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
DbStructureModel: Enable dragging of DB objects
Allow dragging (as in Drag & Drop) of database objects like tables and views into other applications by sending the SQL code used to create them.
This commit is contained in:
@@ -23,6 +23,9 @@ public:
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const;
|
||||
int columnCount(const QModelIndex& = QModelIndex()) const;
|
||||
|
||||
QStringList mimeTypes() const;
|
||||
QMimeData* mimeData(const QModelIndexList& indices) const;
|
||||
|
||||
private:
|
||||
QTreeWidgetItem* rootItem;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user