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 DIAGRAMSMODEL_H
7 #define DIAGRAMSMODEL_H
13 #include <QAbstractTableModel>
26 int rowCount(
const QModelIndex &parent)
const;
29 QVariant
headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
30 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
45 #endif // STEREOTYPESMODEL_H
Definition: diagramsmodel.h:20
bool addDiagram(UMLView *view)
Definition: diagramsmodel.cpp:93
bool removeAllDiagrams()
Definition: diagramsmodel.cpp:115
int m_count
Definition: diagramsmodel.h:41
void emitDataChanged(const QModelIndex &index)
Definition: diagramsmodel.cpp:125
Q_DECLARE_METATYPE(UMLView *)
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: diagramsmodel.cpp:41
int columnCount(const QModelIndex &parent) const
Definition: diagramsmodel.cpp:34
int rowCount(const QModelIndex &parent) const
Definition: diagramsmodel.cpp:26
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
QString toStringI18n(Enum item)
Definition: basictypes.cpp:191
#define i18n
Definition: main.cpp:35
bool removeDiagram(UMLView *view)
Definition: diagramsmodel.cpp:104
std::vector< std::string > v
Definition: cxx11-initializer-lists.h:19
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: diagramsmodel.cpp:62
QPixmap smallIcon(Uml::DiagramType::Enum dt)
Definition: icon_utils.cpp:155
DiagramsModel()
Definition: diagramsmodel.cpp:21
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:14
UMLViewList m_views
Definition: diagramsmodel.h:42