COPASI API
4.16.103
|
#include <CQNotes.h>
Public Member Functions | |
CQNotes (QWidget *parent=0, const char *name=0) | |
virtual bool | leave () |
virtual bool | update (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key) |
~CQNotes () | |
![]() | |
CopasiWidget (QWidget *parent=0, const char *name=0, Qt::WFlags f=0) | |
bool | enter (const std::string &key) |
CCopasiDataModel * | getDataModel () |
bool | getIgnoreUpdates () |
virtual void | setFramework (int framework) |
void | setIgnoreUpdates (bool v) |
Protected Slots | |
void | slotBtnCopy () |
void | slotOpenUrl (const QUrl &url) |
void | slotToggleMode () |
void | slotValidateXML () |
![]() | |
virtual bool | protectedNotify (ListViews::ObjectType objectType, ListViews::Action action, const std::string &key="") |
Protected Member Functions | |
virtual bool | enterProtected () |
Private Member Functions | |
void | load () |
void | save () |
Private Attributes | |
bool | mChanged |
bool | mEditMode |
std::string | mKeyToCopy |
CQValidatorXML * | mpValidatorXML |
QValidator::State | mValidity |
Additional Inherited Members | |
![]() | |
int | mFramework |
bool | mIgnoreUpdates |
std::string | mKey |
CCopasiDataModel * | mpDataModel |
ListViews * | mpListView |
CCopasiObject * | mpObject |
CQNotes::CQNotes | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 132 of file CQNotes.cpp.
References CQIconResource::edit, CQIconResource::icon(), mEditMode, and mpValidatorXML.
CQNotes::~CQNotes | ( | ) |
Definition at line 153 of file CQNotes.cpp.
|
protectedvirtual |
Reimplemented from CopasiWidget.
Definition at line 219 of file CQNotes.cpp.
References CKeyFactory::get(), CCopasiRootContainer::getKeyFactory(), load(), CopasiWidget::mKey, mKeyToCopy, CopasiWidget::mpObject, and save().
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 199 of file CQNotes.cpp.
References CKeyFactory::get(), CCopasiRootContainer::getKeyFactory(), CopasiWidget::mKey, CopasiWidget::mpDataModel, CopasiWidget::mpObject, and save().
|
private |
Definition at line 289 of file CQNotes.cpp.
References CAnnotation::castObject(), FROM_UTF8, CReportDefinition::getComment(), CAnnotation::getNotes(), CQValidatorXML::isFreeText(), mChanged, mEditMode, CopasiWidget::mpObject, mpValidatorXML, mValidity, CQValidator< Type >::saved(), slotToggleMode(), and slotValidateXML().
Referenced by enterProtected(), slotToggleMode(), and update().
|
private |
Definition at line 327 of file CQNotes.cpp.
References CAnnotation::castObject(), ListViews::CHANGE, CCopasiDataModel::changed(), FROM_UTF8, CReportDefinition::getComment(), CAnnotation::getNotes(), mChanged, CopasiWidget::mKey, ListViews::MODEL, CopasiWidget::mpDataModel, CopasiWidget::mpObject, mpValidatorXML, mValidity, CQValidatorXML::needsWrap(), CopasiWidget::protectedNotify(), CReportDefinition::setComment(), CAnnotation::setNotes(), and TO_UTF8.
Referenced by enterProtected(), leave(), and slotToggleMode().
|
protectedslot |
|
protectedslot |
Definition at line 383 of file CQNotes.cpp.
|
protectedslot |
Definition at line 237 of file CQNotes.cpp.
References CQIconResource::edit, CQIconResource::icon(), load(), mEditMode, CQIconResource::renderMarkup, and save().
Referenced by load().
|
protectedslot |
Definition at line 258 of file CQNotes.cpp.
References CQIconResource::edit, CQIconResource::icon(), CQValidatorXML::isFreeText(), mEditMode, mpValidatorXML, mValidity, CQIconResource::renderMarkup, and CQValidatorXML::validate().
Referenced by load().
|
virtual |
Reimplemented from CopasiWidget.
Definition at line 162 of file CQNotes.cpp.
References ListViews::CHANGE, ListViews::DELETE, load(), mEditMode, CopasiWidget::mKey, ListViews::MODEL, and CopasiWidget::mpObject.
|
private |
|
private |
Definition at line 91 of file CQNotes.h.
Referenced by CQNotes(), load(), slotToggleMode(), slotValidateXML(), and update().
|
private |
Definition at line 96 of file CQNotes.h.
Referenced by enterProtected(), and slotBtnCopy().
|
private |
|
private |
Definition at line 94 of file CQNotes.h.
Referenced by load(), save(), and slotValidateXML().