11 #ifndef STEREOTYPESMODEL_H
12 #define STEREOTYPESMODEL_H
18 #include <QAbstractTableModel>
30 int rowCount(
const QModelIndex &parent)
const;
33 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
34 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
Definition: stereotypesmodel.h:25
int m_count
Definition: stereotypesmodel.h:43
int columnCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:38
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:45
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:62
StereotypesModel(UMLStereotypeList &stereotypes)
Definition: stereotypesmodel.cpp:24
UMLStereotypeList & m_stereotypes
Definition: stereotypesmodel.h:44
void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:127
int rowCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:30
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:106
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:90
Sets up stereotype information.
Definition: stereotype.h:41
Q_DECLARE_METATYPE(UMLStereotype *)
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:17