SqliteTableModel: Don't show binary data in table widgets

Don't show BLOBs as binary data in table widgets, instead put a "BLOB"
text in that cell.

Also make BLOBs not editable unless you use the edit dialog.
This commit is contained in:
Martin Kleusberg
2013-05-07 20:47:16 +02:00
parent 09afe637c6
commit ea31c8023b
3 changed files with 17 additions and 3 deletions

View File

@@ -35,6 +35,8 @@ public:
bool valid() const { return m_valid; }
bool isBinary(const QModelIndex& index) const;
typedef QList<QByteArray> QByteArrayList;
signals: