#include <qpui.h>
Public Slots | |
| void | setPageLayout (PageItem *pageItem) |
Signals | |
| void | pageLayoutChanged (PageItem *) |
Public Member Functions | |
| PlotModel (PlotView *parent=0) | |
| ~PlotModel () | |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| Qt::ItemFlags | flags (const QModelIndex &index=QModelIndex()) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| bool | removeRows (int position, int rows, const QModelIndex &parent=QModelIndex()) |
| bool | insertColumns (int position, int columns, const QModelIndex &parent=QModelIndex()) |
| bool | removeColumns (int position, int columns, const QModelIndex &parent=QModelIndex()) |
| QStringList | mimeTypes () const |
| QMimeData * | mimeData (const QModelIndexList &indexes) const |
| bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
| QpuiItem * | itemFromIndex (const QModelIndex &index) const |
| QModelIndex | indexFromItem (QpuiItem *i) |
| QpuiItem * | itemFromPath (const QString &path) const |
| void | BIR (QpuiItem *parent, int position, int rows) |
| void | EIR () |
| PageItem * | makePage () |
| void | emitLayoutAboutToBeChanged () |
| void | emitLayoutChanged () |
| void | clear (QModelIndex &parent) |
| void | makeMultiTraceItem (QpuiItem *parent, QVector< int > &nTraces, QVector< TraceItem * > &stack, QpFrameType frameType) |
| TraceItem * | makeVector_RXYZ_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_XYZ_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_XYZ_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_TP_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_LP_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_X_Y_Z_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_X_Y_Z_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_T_P_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeVector_R_L_P_Item (QpuiItem *parent, QpFrameType frameType=QP_TS, int row=-1) |
| TraceItem * | makeC1_2_3_4_Item (QpuiItem *parent, int row=-1) |
| TraceItem * | makeC1234_Item (QpuiItem *parent, int row=-1) |
| PlotItem * | makePlotItem (QpuiItem *parent, const QString &obj_name, int row=-1) |
| PlotItem * | makePlot (QpuiItem *parent, QpItemType plotType, QpFrameType frameType, const QString &WL, int row=-1) |
| TraceItem * | makeConstTrace (QpuiItem *parent, const QString &WL, int row, QpItemType plotType, QpFrameType frameType) |
| TraceItem * | makeTrace (QpuiItem *parent, const QString &WL, int row=-1) |
| SpectrumItem * | makeSpectrum (QpuiItem *parent, const QString &WL, int row=-1) |
| EventItem * | makeEvent (QpuiItem *parent, int row=-1) |
| TraceItem * | make2Panel_Item (QpuiItem *parent, int row=-1) |
| TraceItem * | make3Panel_Item (QpuiItem *parent, int row=-1) |
| TraceItem * | make4Panel_Item (QpuiItem *parent, int row=-1) |
| FrameItem * | makeTSFrameItem (QpuiItem *parent, int row=-1) |
| FrameItem * | makeXYFrameItem (QpuiItem *parent, int row=-1) |
| TraceItem * | makeTraceItem (QpuiItem *parent, int row=-1) |
| SpectrumItem * | makeSpectrumItem (QpuiItem *parent, int row=-1) |
| PanelItem * | makePanelItem (QpuiItem *parent, int row=-1) |
| QModelIndex | moveUp (QModelIndex &index) |
| QModelIndex | moveDown (QModelIndex &index) |
| bool | deleteItem (QpuiItem *item) |
| void | getLinkFlags (QList< QString > &io_list, QpuiItem *parent) |
| void | getLinkedItems (QList< PlotItem * > &io_list, QpuiItem *current, const QString &flag) |
| void | linkPlots (QList< PlotItem * > &linkedItems) |
| void | changePlotType (QModelIndex &index, QpItemType plotType) |
| QDomElement | toXMLElement (QDomDocument &) const |
| void | fromXMLElement (QDomElement &) |
| void | doReset () |
Public Attributes | |
| RootItem * | _root |
| bool | _replace |
Protected Member Functions | |
| void | linkTraceItems (QVector< TraceItem * > &stack, bool onceOnly) |
Protected Attributes | |
| int | LinkNumber |
| PlotView * | _view |
Friends | |
| Vostream & | operator<< (Vostream &, PlotModel &) |
| Vistream & | operator>> (Vistream &, PlotModel &) |
| PlotModel::PlotModel | ( | PlotView * | parent = 0 |
) |
| PlotModel::~PlotModel | ( | ) |
| void PlotModel::BIR | ( | QpuiItem * | parent, | |
| int | position, | |||
| int | rows | |||
| ) | [inline] |
| void PlotModel::changePlotType | ( | QModelIndex & | index, | |
| QpItemType | plotType | |||
| ) |
| void PlotModel::clear | ( | QModelIndex & | parent | ) | [inline] |
| int PlotModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| QVariant PlotModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const |
| bool PlotModel::deleteItem | ( | QpuiItem * | item | ) |
| void PlotModel::doReset | ( | ) | [inline] |
| bool PlotModel::dropMimeData | ( | const QMimeData * | data, | |
| Qt::DropAction | action, | |||
| int | row, | |||
| int | column, | |||
| const QModelIndex & | parent | |||
| ) |
| void PlotModel::EIR | ( | ) | [inline] |
| void PlotModel::emitLayoutAboutToBeChanged | ( | ) | [inline] |
| void PlotModel::emitLayoutChanged | ( | ) | [inline] |
| Qt::ItemFlags PlotModel::flags | ( | const QModelIndex & | index = QModelIndex() |
) | const |
| void PlotModel::fromXMLElement | ( | QDomElement & | el | ) |
| void PlotModel::getLinkedItems | ( | QList< PlotItem * > & | io_list, | |
| QpuiItem * | current, | |||
| const QString & | flag | |||
| ) |
| void PlotModel::getLinkFlags | ( | QList< QString > & | io_list, | |
| QpuiItem * | parent | |||
| ) |
| QVariant PlotModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const |
| QModelIndex PlotModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const |
| QModelIndex PlotModel::indexFromItem | ( | QpuiItem * | i | ) | [inline] |
| bool PlotModel::insertColumns | ( | int | position, | |
| int | columns, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) |
| QpuiItem* PlotModel::itemFromIndex | ( | const QModelIndex & | index | ) | const [inline] |
| QpuiItem* PlotModel::itemFromPath | ( | const QString & | path | ) | const [inline] |
| void PlotModel::linkPlots | ( | QList< PlotItem * > & | linkedItems | ) |
| void PlotModel::linkTraceItems | ( | QVector< TraceItem * > & | stack, | |
| bool | onceOnly | |||
| ) | [protected] |
| TraceItem * PlotModel::makeConstTrace | ( | QpuiItem * | parent, | |
| const QString & | WL, | |||
| int | row, | |||
| QpItemType | plotType, | |||
| QpFrameType | frameType | |||
| ) |
| void PlotModel::makeMultiTraceItem | ( | QpuiItem * | parent, | |
| QVector< int > & | nTraces, | |||
| QVector< TraceItem * > & | stack, | |||
| QpFrameType | frameType | |||
| ) |
| PageItem * PlotModel::makePage | ( | ) |
| PlotItem * PlotModel::makePlot | ( | QpuiItem * | parent, | |
| QpItemType | plotType, | |||
| QpFrameType | frameType, | |||
| const QString & | WL, | |||
| int | row = -1 | |||
| ) |
| SpectrumItem * PlotModel::makeSpectrum | ( | QpuiItem * | parent, | |
| const QString & | WL, | |||
| int | row = -1 | |||
| ) |
| SpectrumItem * PlotModel::makeSpectrumItem | ( | QpuiItem * | parent, | |
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_L_P_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_LP_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_T_P_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_TP_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_X_Y_Z_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_R_XYZ_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_RXYZ_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_X_Y_Z_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| TraceItem * PlotModel::makeVector_XYZ_Item | ( | QpuiItem * | parent, | |
| QpFrameType | frameType = QP_TS, |
|||
| int | row = -1 | |||
| ) |
| QMimeData * PlotModel::mimeData | ( | const QModelIndexList & | indexes | ) | const |
| QStringList PlotModel::mimeTypes | ( | ) | const |
| QModelIndex PlotModel::moveDown | ( | QModelIndex & | index | ) |
| QModelIndex PlotModel::moveUp | ( | QModelIndex & | index | ) |
| void PlotModel::pageLayoutChanged | ( | PageItem * | ) | [signal] |
| QModelIndex PlotModel::parent | ( | const QModelIndex & | index | ) | const |
| bool PlotModel::removeColumns | ( | int | position, | |
| int | columns, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) |
| bool PlotModel::removeRows | ( | int | position, | |
| int | rows, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) |
| int PlotModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
| bool PlotModel::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role = Qt::EditRole | |||
| ) |
| void PlotModel::setPageLayout | ( | PageItem * | pageItem | ) | [slot] |
| QDomElement PlotModel::toXMLElement | ( | QDomDocument & | doc | ) | const |
| bool PlotModel::_replace |
PlotView* PlotModel::_view [protected] |
int PlotModel::LinkNumber [protected] |
1.5.7