6#ifndef STEREOTYPESMODEL_H
7#define STEREOTYPESMODEL_H
13#include <QAbstractTableModel>
24 int rowCount(
const QModelIndex &parent)
const;
27 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
28 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
Definition stereotypesmodel.h:19
int m_count
Definition stereotypesmodel.h:37
int columnCount(const QModelIndex &parent) const
Definition stereotypesmodel.cpp:33
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition stereotypesmodel.cpp:40
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition stereotypesmodel.cpp:57
StereotypesModel(UMLStereotypeList &stereotypes)
Definition stereotypesmodel.cpp:19
UMLStereotypeList & m_stereotypes
Definition stereotypesmodel.h:38
void emitDataChanged(const QModelIndex &index)
Definition stereotypesmodel.cpp:122
int rowCount(const QModelIndex &parent) const
Definition stereotypesmodel.cpp:25
bool removeStereotype(UMLStereotype *stereotype)
Definition stereotypesmodel.cpp:101
bool addStereotype(UMLStereotype *stereotype)
Definition stereotypesmodel.cpp:85
Sets up stereotype information.
Definition stereotype.h:36
Q_DECLARE_METATYPE(UMLStereotype *)
QList< UMLStereotype * > UMLStereotypeList
Definition umlstereotypelist.h:14