#include <SALOME_PYQT_DataModelLight.h>
|
| | SALOME_PYQT_DataModelLight (CAM_Module *theModule) |
| |
| virtual | ~SALOME_PYQT_DataModelLight () |
| |
| virtual bool | open (const QString &, CAM_Study *, QStringList) |
| |
| virtual bool | save (QStringList &) |
| |
| virtual bool | saveAs (const QString &, CAM_Study *, QStringList &) |
| | Save data to the new file. More...
|
| |
| virtual bool | close () |
| |
| virtual bool | create (CAM_Study *) |
| | Create empty data model. More...
|
| |
| virtual bool | dumpPython (const QString &, CAM_Study *, bool, QStringList &) |
| |
| virtual bool | isModified () const |
| |
| void | setModified (bool) |
| |
| virtual void | update (LightApp_DataObject *=0, LightApp_Study *=0) |
| |
| CAM_DataObject * | getRoot () |
| |
| | LightApp_DataModel (CAM_Module *theModule) |
| |
| virtual | ~LightApp_DataModel () |
| |
| virtual bool | saveAs (const QString &, CAM_Study *, QStringList &, bool isBackup=false) |
| |
| virtual bool | isSaved () const |
| |
| LightApp_Module * | getModule () const |
| |
| int | groupId () const |
| |
| void | registerColumn (SUIT_DataBrowser *, const QString &, const int) |
| |
| void | unregisterColumn (SUIT_DataBrowser *, const QString &) |
| |
| virtual void | initRootObject () |
| | For initialization of the data model and registration of SComponent when study is created but module was not activated. More...
|
| |
| | CAM_DataModel (CAM_Module *) |
| | Constructor. More...
|
| |
| virtual | ~CAM_DataModel () |
| | Destructor. More...
|
| |
| virtual void | initialize () |
| | Initialize data model. More...
|
| |
| CAM_DataObject * | root () const |
| | Get data model root object. More...
|
| |
| CAM_Module * | module () const |
| | Get module. More...
|
| |
◆ SALOME_PYQT_DataModelLight()
| SALOME_PYQT_DataModelLight::SALOME_PYQT_DataModelLight |
( |
CAM_Module * |
theModule | ) |
|
◆ ~SALOME_PYQT_DataModelLight()
| SALOME_PYQT_DataModelLight::~SALOME_PYQT_DataModelLight |
( |
| ) |
|
|
virtual |
◆ close()
| bool SALOME_PYQT_DataModelLight::close |
( |
| ) |
|
|
virtual |
◆ create()
| bool SALOME_PYQT_DataModelLight::create |
( |
CAM_Study * |
| ) |
|
|
virtual |
Create empty data model.
This method should be re-implemented in the successor classes. Default implementation returns true.
- Returns
true if data model is created successfully
Reimplemented from CAM_DataModel.
◆ dumpPython()
| bool SALOME_PYQT_DataModelLight::dumpPython |
( |
const QString & |
, |
|
|
CAM_Study * |
, |
|
|
bool |
, |
|
|
QStringList & |
|
|
) |
| |
|
virtual |
◆ getRoot()
◆ isModified()
| bool SALOME_PYQT_DataModelLight::isModified |
( |
| ) |
const |
|
virtual |
◆ open()
| bool SALOME_PYQT_DataModelLight::open |
( |
const QString & |
, |
|
|
CAM_Study * |
, |
|
|
QStringList |
|
|
) |
| |
|
virtual |
◆ save()
| bool SALOME_PYQT_DataModelLight::save |
( |
QStringList & |
| ) |
|
|
virtual |
◆ saveAs()
| bool SALOME_PYQT_DataModelLight::saveAs |
( |
const QString & |
, |
|
|
CAM_Study * |
, |
|
|
QStringList & |
|
|
) |
| |
|
virtual |
Save data to the new file.
This method should be re-implemented in the successor classes. Default implementation returns true.
- Parameters
-
| name | study name |
| study | study |
| files | resulting list of file names to which data is saved |
- Returns
true if data model is saved successfully
Reimplemented from CAM_DataModel.
References myStudyURL, and save().
◆ setModified()
| void SALOME_PYQT_DataModelLight::setModified |
( |
bool |
flag | ) |
|
◆ update()
Default behaviour of data model update for light modules
Reimplemented from LightApp_DataModel.
◆ myFileName
| QString SALOME_PYQT_DataModelLight::myFileName |
|
private |
◆ myModified
| bool SALOME_PYQT_DataModelLight::myModified |
|
private |
◆ myStudyURL
| QString SALOME_PYQT_DataModelLight::myStudyURL |
|
private |
The documentation for this class was generated from the following files: