umbrello 2.39.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <diagramsmodel.h>
Public Member Functions | |
DiagramsModel () | |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
bool | addDiagram (UMLView *view) |
bool | removeDiagram (UMLView *view) |
bool | removeAllDiagrams () |
void | emitDataChanged (const QModelIndex &index) |
void | emitDataChanged (int index) |
void | emitDataChanged (UMLView *view) |
Protected Attributes | |
int | m_count |
UMLViewList | m_views |
|
explicit |
int DiagramsModel::columnCount | ( | const QModelIndex & | parent | ) | const |
QVariant DiagramsModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole ) const |
void DiagramsModel::emitDataChanged | ( | const QModelIndex & | index | ) |
QVariant DiagramsModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole ) const |
bool DiagramsModel::removeAllDiagrams | ( | ) |
int DiagramsModel::rowCount | ( | const QModelIndex & | parent | ) | const |
|
protected |
|
protected |