COPASI API
4.16.103
|
#include <CQLayoutView.h>
Public Slots | |
void | slotFitOnScreen () |
void | slotLayoutChanged (int) |
void | slotRenderInformationChanged (int) |
void | slotResetZoom () |
void | slotSaveToFile (const QString &fileName) |
void | slotZoomIn () |
void | slotZoomOut () |
Public Member Functions | |
CQLayoutView (QWidget *parent=NULL) | |
CQLayoutView (CQLayoutScene *scene) | |
void | fillSelectionToolBar (QToolBar *toolBar) |
void | fillZoomMenu (QMenu *menu) |
void | fillZoomTooBar (QToolBar *toolBar) |
CCopasiDataModel * | getDataModel () |
void | setDataModel (CCopasiDataModel *dataModel, CLayout *layout=NULL) |
virtual | ~CQLayoutView () |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) |
Protected Attributes | |
bool | mIgnoreEvents |
QAction * | mpActFitOnScreen |
QAction * | mpActResetZoom |
QAction * | mpActZoomIn |
QAction * | mpActZoomOut |
CCopasiDataModel * | mpDataModel |
QComboBox * | mpLayoutDropdown |
QComboBox * | mpRenderDropdown |
double | mScaleFactor |
Private Member Functions | |
void | createActions () |
Definition at line 19 of file CQLayoutView.h.
CQLayoutView::CQLayoutView | ( | QWidget * | parent = NULL | ) |
CQLayoutView::CQLayoutView | ( | CQLayoutScene * | scene | ) |
|
virtual |
Definition at line 26 of file CQLayoutView.cpp.
|
private |
Definition at line 270 of file CQLayoutView.cpp.
References CQIconResource::icon(), mpActFitOnScreen, mpActResetZoom, mpActZoomIn, mpActZoomOut, mpLayoutDropdown, mpRenderDropdown, slotFitOnScreen(), slotLayoutChanged(), slotRenderInformationChanged(), slotResetZoom(), slotZoomIn(), slotZoomOut(), CQIconResource::viewmag1, CQIconResource::viewmagfit, CQIconResource::viewmagMinus, and CQIconResource::viewmagPlus.
Referenced by CQLayoutView().
void CQLayoutView::fillSelectionToolBar | ( | QToolBar * | toolBar | ) |
void CQLayoutView::fillZoomMenu | ( | QMenu * | menu | ) |
Definition at line 250 of file CQLayoutView.cpp.
References mpActFitOnScreen, mpActResetZoom, mpActZoomIn, and mpActZoomOut.
void CQLayoutView::fillZoomTooBar | ( | QToolBar * | toolBar | ) |
Definition at line 260 of file CQLayoutView.cpp.
References mpActFitOnScreen, mpActResetZoom, mpActZoomIn, and mpActZoomOut.
CCopasiDataModel * CQLayoutView::getDataModel | ( | ) |
void CQLayoutView::setDataModel | ( | CCopasiDataModel * | dataModel, |
CLayout * | layout = NULL |
||
) |
Definition at line 359 of file CQLayoutView.cpp.
References CCopasiObject::getObjectName(), mpDataModel, mpLayoutDropdown, mpRenderDropdown, updateLayoutList(), and updateRenderInformationList().
|
slot |
Definition at line 330 of file CQLayoutView.cpp.
Referenced by createActions().
|
slot |
Definition at line 188 of file CQLayoutView.cpp.
References CQLayoutScene::getCurrentLayout(), CLRenderInformationBase::getKey(), CCopasiDataModel::getListOfLayouts(), CLRenderInformationBase::getName(), mIgnoreEvents, mpDataModel, mpRenderDropdown, CQLayoutScene::recreate(), CQLayoutScene::setLayout(), and updateRenderInformationList().
Referenced by createActions().
|
slot |
Definition at line 149 of file CQLayoutView.cpp.
References CQLayoutScene::getCurrentLayout(), getDefaultStyle(), CListOfLayouts::getListOfGlobalRenderInformationObjects(), CCopasiDataModel::getListOfLayouts(), CLayout::getListOfLocalRenderInformationObjects(), getNumDefaultStyles(), mIgnoreEvents, mpDataModel, CQLayoutScene::recreate(), CQLayoutScene::setRenderInformation(), and CCopasiVector< T >::size().
Referenced by createActions().
|
slot |
Definition at line 336 of file CQLayoutView.cpp.
Referenced by createActions().
|
slot |
Definition at line 228 of file CQLayoutView.cpp.
References CQLayoutScene::saveToFile().
|
slot |
Definition at line 343 of file CQLayoutView.cpp.
References mScaleFactor.
Referenced by createActions(), and wheelEvent().
|
slot |
Definition at line 348 of file CQLayoutView.cpp.
References mScaleFactor.
Referenced by createActions(), and wheelEvent().
|
protected |
|
protected |
Definition at line 51 of file CQLayoutView.h.
Referenced by slotLayoutChanged(), and slotRenderInformationChanged().
|
protected |
Definition at line 46 of file CQLayoutView.h.
Referenced by createActions(), fillZoomMenu(), and fillZoomTooBar().
|
protected |
Definition at line 47 of file CQLayoutView.h.
Referenced by createActions(), fillZoomMenu(), and fillZoomTooBar().
|
protected |
Definition at line 44 of file CQLayoutView.h.
Referenced by createActions(), fillZoomMenu(), and fillZoomTooBar().
|
protected |
Definition at line 45 of file CQLayoutView.h.
Referenced by createActions(), fillZoomMenu(), and fillZoomTooBar().
|
protected |
Definition at line 52 of file CQLayoutView.h.
Referenced by getDataModel(), setDataModel(), slotLayoutChanged(), and slotRenderInformationChanged().
|
protected |
Definition at line 49 of file CQLayoutView.h.
Referenced by createActions(), fillSelectionToolBar(), and setDataModel().
|
protected |
Definition at line 50 of file CQLayoutView.h.
Referenced by createActions(), fillSelectionToolBar(), setDataModel(), and slotLayoutChanged().
|
protected |
Definition at line 48 of file CQLayoutView.h.
Referenced by slotZoomIn(), and slotZoomOut().