Scribus
Open source desktop publishing at your fingertips
|
#include <openpalettemodel.h>
Public Slots | |
void | paletteChanged () |
Public Member Functions | |
OpenPaletteModel (QObject *parent) | |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
Standard reimplementations for an abstract item model (read-only) | |
QModelIndex | parent (const QModelIndex &index) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Provides a model to attach to a treeview representing the state of open palettes configuration. Its own data being actually hold by OpenPaletteManager, so most of the implementations of virtual methods are in fact forwarded to OpenPaletteManager.