COPASI API  4.16.103
Public Member Functions | Protected Attributes | List of all members
CQPlotEditWidget Class Referenceabstract

#include <CQPlotEditWidget.h>

Inheritance diagram for CQPlotEditWidget:
Inheritance graph
[legend]
Collaboration diagram for CQPlotEditWidget:
Collaboration graph
[legend]

Public Member Functions

 CQPlotEditWidget (QWidget *parent=NULL, Qt::WindowFlags fl=0)
 
virtual bool LoadFromCurveSpec (const CPlotItem *curve)=0
 
virtual bool SaveToCurveSpec (CPlotItem *curve, const CPlotItem *original=NULL) const =0
 
virtual void setModel (const CModel *model)
 
virtual void setMultipleEditMode (bool mode)=0
 
virtual ~CQPlotEditWidget ()
 

Protected Attributes

const CModelmpModel
 

Detailed Description

Definition at line 14 of file CQPlotEditWidget.h.

Constructor & Destructor Documentation

CQPlotEditWidget::CQPlotEditWidget ( QWidget *  parent = NULL,
Qt::WindowFlags  fl = 0 
)

Definition at line 8 of file CQPlotEditWidget.cpp.

9  : QWidget(parent, fl)
10 {
11 }
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
CQPlotEditWidget::~CQPlotEditWidget ( )
virtual

Definition at line 13 of file CQPlotEditWidget.cpp.

14 {
15 }

Member Function Documentation

virtual bool CQPlotEditWidget::LoadFromCurveSpec ( const CPlotItem curve)
pure virtual
virtual bool CQPlotEditWidget::SaveToCurveSpec ( CPlotItem curve,
const CPlotItem original = NULL 
) const
pure virtual
void CQPlotEditWidget::setModel ( const CModel model)
virtual

Definition at line 17 of file CQPlotEditWidget.cpp.

References mpModel.

Referenced by CQPlotSubwidget::selectPlotItem().

18 {
19  mpModel = model;
20 }
const CModel * mpModel
virtual void CQPlotEditWidget::setMultipleEditMode ( bool  mode)
pure virtual

In multiple edit mode, we don't want to edit name & channels

Implemented in BandedGraphWidget, HistoWidget, and Curve2DWidget.

Member Data Documentation

const CModel* CQPlotEditWidget::mpModel
protected

The documentation for this class was generated from the following files: