virtual Qt::ItemFlags flags( const QModelIndex & index ) const
QVariant value = index.data(); QVariant::Type t = value.type();
CREATE TABLE [Operators] ([OperatorID] INTEGER PRIMARY KEY NOT NULL,[OperatorName] VARCHAR(60) NOT NULL,[OperatorPassword] VARCHAR(16) NULL,[IsAdministrator] BOOLEAN NOT NULL)