COPASI API
4.16.103
|
#include <CQPlotsWidget.h>
Public Member Functions | |
CQPlotsWidget (QWidget *parent=0, const char *name=0) | |
virtual bool | leave () |
virtual void | setFramework (int framework) |
virtual bool | update (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key) |
~CQPlotsWidget () | |
![]() | |
CopasiWidget (QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
bool | enter (const std::string &key) |
CCopasiDataModel * | getDataModel () |
bool | getIgnoreUpdates () |
void | setIgnoreUpdates (bool v) |
Protected Slots | |
virtual void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
virtual void | slotBtnActivateAllClicked () |
virtual void | slotBtnClearClicked () |
virtual void | slotBtnDeactivateAllClicked () |
virtual void | slotBtnDeleteClicked () |
virtual void | slotBtnNewClicked () |
virtual void | slotDoubleClicked (const QModelIndex proxyIndex) |
virtual void | slotFilterChanged () |
virtual void | slotSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
![]() | |
virtual bool | protectedNotify (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="") |
Protected Member Functions | |
virtual bool | enterProtected () |
virtual void | keyPressEvent (QKeyEvent *ev) |
Private Member Functions | |
void | deleteSelectedPlots () |
void | updateDeleteBtns () |
Private Attributes | |
CQPlotDM * | mpPlotDM |
CQSortFilterProxyModel * | mpProxyModel |
Additional Inherited Members | |
![]() | |
int | mFramework |
bool | mIgnoreUpdates |
std::string | mKey |
CCopasiDataModel * | mpDataModel |
ListViews * | mpListView |
CCopasiObject * | mpObject |
Definition at line 21 of file CQPlotsWidget.h.
CQPlotsWidget::CQPlotsWidget | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 32 of file CQPlotsWidget.cpp.
References COL_ROW_NUMBER, dataChanged(), CopasiWidget::mFramework, mpPlotDM, mpProxyModel, CopasiWidget::protectedNotify(), setFramework(), slotBtnActivateAllClicked(), slotBtnDeactivateAllClicked(), and slotFilterChanged().
CQPlotsWidget::~CQPlotsWidget | ( | ) |
|
protectedvirtualslot |
Definition at line 226 of file CQPlotsWidget.cpp.
References CopasiWidget::mFramework, setFramework(), and updateDeleteBtns().
Referenced by CQPlotsWidget().
|
private |
Definition at line 120 of file CQPlotsWidget.cpp.
References mpPlotDM, mpProxyModel, CQPlotDM::removeRows(), and CQPlotDM::rowCount().
Referenced by slotBtnDeleteClicked().
|
protectedvirtual |
Reimplemented from CopasiWidget.
Definition at line 170 of file CQPlotsWidget.cpp.
References CopasiWidget::mFramework, mpPlotDM, mpProxyModel, setFramework(), slotSelectionChanged(), and updateDeleteBtns().
Referenced by update().
|
protectedvirtual |
Definition at line 260 of file CQPlotsWidget.cpp.
References CQPlotDM::columnCount(), mpPlotDM, mpProxyModel, and slotBtnDeleteClicked().
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 165 of file CQPlotsWidget.cpp.
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 301 of file CQPlotsWidget.cpp.
References CopasiWidget::setFramework().
Referenced by CQPlotsWidget(), dataChanged(), and enterProtected().
|
protectedvirtualslot |
Definition at line 72 of file CQPlotsWidget.cpp.
References CCopasiRootContainer::getDatamodelList(), CCopasiDataModel::getModel(), CCopasiDataModel::getPlotDefinitionList(), CPlotSpecification::setActive(), and CCopasiVector< T >::size().
Referenced by CQPlotsWidget().
|
protectedvirtualslot |
Definition at line 141 of file CQPlotsWidget.cpp.
References CQBaseDataModel::clear(), mpPlotDM, CQMessageBox::question(), and updateDeleteBtns().
|
protectedvirtualslot |
Definition at line 89 of file CQPlotsWidget.cpp.
References CCopasiRootContainer::getDatamodelList(), CCopasiDataModel::getModel(), CCopasiDataModel::getPlotDefinitionList(), CPlotSpecification::setActive(), and CCopasiVector< T >::size().
Referenced by CQPlotsWidget().
|
protectedvirtualslot |
Definition at line 112 of file CQPlotsWidget.cpp.
References deleteSelectedPlots(), and updateDeleteBtns().
Referenced by keyPressEvent().
|
protectedvirtualslot |
Definition at line 106 of file CQPlotsWidget.cpp.
References CQBaseDataModel::insertRow(), mpPlotDM, and updateDeleteBtns().
Referenced by slotDoubleClicked().
|
protectedvirtualslot |
Definition at line 234 of file CQPlotsWidget.cpp.
References C_INVALID_INDEX, CKeyFactory::get(), CCopasiRootContainer::getDatamodelList(), CCopasiRootContainer::getKeyFactory(), CCopasiDataModel::getModel(), CCopasiDataModel::getPlotDefinitionList(), CQBaseDataModel::isDefaultRow(), CopasiWidget::mpListView, mpPlotDM, mpProxyModel, slotBtnNewClicked(), and ListViews::switchToOtherWidget().
|
protectedvirtualslot |
Definition at line 295 of file CQPlotsWidget.cpp.
References mpProxyModel.
Referenced by CQPlotsWidget().
|
protectedvirtualslot |
Definition at line 220 of file CQPlotsWidget.cpp.
References updateDeleteBtns().
Referenced by enterProtected().
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 155 of file CQPlotsWidget.cpp.
References enterProtected(), and CopasiWidget::mIgnoreUpdates.
|
private |
Definition at line 191 of file CQPlotsWidget.cpp.
References CQBaseDataModel::isDefaultRow(), mpPlotDM, and mpProxyModel.
Referenced by dataChanged(), enterProtected(), slotBtnClearClicked(), slotBtnDeleteClicked(), slotBtnNewClicked(), and slotSelectionChanged().
|
private |
Definition at line 34 of file CQPlotsWidget.h.
Referenced by CQPlotsWidget(), deleteSelectedPlots(), enterProtected(), keyPressEvent(), slotBtnClearClicked(), slotBtnNewClicked(), slotDoubleClicked(), updateDeleteBtns(), and ~CQPlotsWidget().
|
private |
Definition at line 35 of file CQPlotsWidget.h.
Referenced by CQPlotsWidget(), deleteSelectedPlots(), enterProtected(), keyPressEvent(), slotDoubleClicked(), slotFilterChanged(), updateDeleteBtns(), and ~CQPlotsWidget().