umbrello
2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
6 #ifndef STEREOTYPESMODEL_H
7 #define STEREOTYPESMODEL_H
13 #include <QAbstractTableModel>
25 int rowCount(
const QModelIndex &parent)
const;
28 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
29 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
42 #endif // STEREOTYPESMODEL_H
StereotypesModel(UMLStereotypeList &stereotypes)
Definition: stereotypesmodel.cpp:19
QList< UMLStereotype * > UMLStereotypeList
Definition: umlstereotypelist.h:12
UMLStereotypeList & m_stereotypes
Definition: stereotypesmodel.h:39
Definition: stereotypesmodel.h:19
QString name(bool includeAdornments=false) const
Definition: stereotype.cpp:232
int refCount() const
Definition: stereotype.cpp:224
int rowCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:25
Q_DECLARE_METATYPE(UMLStereotype *)
Sets up stereotype information.
Definition: stereotype.h:35
int m_count
Definition: stereotypesmodel.h:38
bool removeStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:101
QString a
Definition: petalnode.cpp:13
#define i18n
Definition: main.cpp:35
void emitDataChanged(const QModelIndex &index)
Definition: stereotypesmodel.cpp:122
int columnCount(const QModelIndex &parent) const
Definition: stereotypesmodel.cpp:33
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
bool addStereotype(UMLStereotype *stereotype)
Definition: stereotypesmodel.cpp:85
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:57
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: stereotypesmodel.cpp:40