23 mpEditTitle->setEnabled(!mode);
24 mpEditX->setEnabled(!mode);
25 mpEditYone->setEnabled(!mode);
26 mpEditYtwo->setEnabled(!mode);
27 mpBtnX->setEnabled(!mode);
28 mpBtnYone->setEnabled(!mode);
29 mpBtnYtwo->setEnabled(!mode);
63 mpEditTitle->setText(
"");
68 mpEditYone->setText(
"");
69 mpEditYtwo->setText(
"");
71 mpCheckBefore->setChecked(
false);
72 mpCheckDuring->setChecked(
true);
73 mpCheckAfter->setChecked(
false);
87 assert(pDataModel != NULL);
115 if (!(tmp = curve->
getValue(
"Line type").
pVOID))
return false;
129 std::string title =
TO_UTF8(mpEditTitle->text());
143 bool thingsChanged =
false;
145 if (original != NULL)
149 thingsChanged =
true;
152 thingsChanged =
true;
154 if (thingsChanged || original->
getActivity() != Activity)
155 thingsChanged =
true;
157 if (thingsChanged || original->
getChannels().size() != 3)
158 thingsChanged =
true;
160 if (thingsChanged || original->
getChannels()[0] != xName)
161 thingsChanged =
true;
163 if (thingsChanged || original->
getChannels()[1] != yName1)
164 thingsChanged =
true;
166 if (thingsChanged || original->
getChannels()[2] != yName2)
167 thingsChanged =
true;
169 else thingsChanged =
true;
216 mpEditX->setText(
"");
247 mpEditYone->setText(
"");
278 mpEditYtwo->setText(
"");
CCopasiObject * getDataObject(const CCopasiObjectName &CN) const
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
virtual CCopasiObjectName getCN() const
std::vector< CPlotDataChannelSpec > & getChannels()
void setActivity(const COutputInterface::Activity &activity)
static const QIcon & icon(const IconID &id)
const CPlotItem::Type & getType() const
static CCopasiVector< CCopasiDataModel > * getDatamodelList()
const COutputInterface::Activity & getActivity() const
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
const CCopasiParameter::Value & getValue(const std::string &name) const
const std::string & getTitle() const
void setTitle(const std::string &title)
static const CCopasiObject * getObjectSingle(QWidget *pParent, const CQSimpleSelectionTree::ObjectClasses &classes, const CCopasiObject *pCurrentObject=NULL)