| 3926 | } |
| 3927 | |
| 3928 | QVariant StructuredDataItemModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 3929 | { |
| 3930 | if(orientation == Qt::Horizontal && role == Qt::DisplayRole) |
| 3931 | { |
| 3932 | if(section < m_ColumnNames.count()) |
| 3933 | return m_ColumnNames[section]; |
| 3934 | } |
| 3935 | |
| 3936 | return QVariant(); |
| 3937 | } |
| 3938 | |
| 3939 | Qt::ItemFlags StructuredDataItemModel::flags(const QModelIndex &index) const |
| 3940 | { |