SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui::qt::ModifyObject Class Reference

#include <ModifyObject.h>

Inheritance diagram for sofa::gui::qt::ModifyObject:

Protected Attributes

void * Id_
 
QTreeWidgetItem * item_
 
core::objectmodel::Basenode
 
core::objectmodel::BaseDatadata_
 
const ModifyObjectFlags dialogFlags_
 
QWidgetmessageTab
 
QTextBrowser * messageEdit
 
QTabWidget * dialogTab
 
QPushButtonbuttonUpdate
 
int m_numMessages
 
QTransformationWidgettransformation
 
std::vector< QTabulationModifyObject * > m_tabs
 

Public Member Functions

 ModifyObject (void *Id, QTreeWidgetItem *item_clicked, QWidget *parent, const ModifyObjectFlags &dialogFlags, const char *name=0, bool modal=false, Qt::WindowFlags f=0)
 
 ~ModifyObject () override
 
const ModifyObjectFlagsgetFlags ()
 
void createDialog (core::objectmodel::Base *node)
 
void createDialog (core::objectmodel::BaseData *data)
 
bool hideData (core::objectmodel::BaseData *data)
 
void readOnlyData (QTableWidget *widget, core::objectmodel::BaseData *data)
 
void readOnlyData (QWidget *widget, core::objectmodel::BaseData *data)
 

Protected Member Functions

void updateConsole ()
 
QString parseDataModified ()
 

Signals

void updateDataWidgets ()
 
void objectUpdated ()
 
void dialogClosed (void *)
 
void nodeNameModification (simulation::Node *)
 
void componentDirty (bool)
 
void dataModified (QString)
 
void beginObjectModification (sofa::core::objectmodel::Base *object)
 
void endObjectModification (sofa::core::objectmodel::Base *object)
 
void beginDataModification (sofa::core::objectmodel::BaseData *data)
 
void endDataModification (sofa::core::objectmodel::BaseData *data)
 

Public Slots

void openExternalBrowser (const QUrl &link)
 
void reject () override
 
void accept () override
 
void closeNow ()
 
void closeEvent (QCloseEvent *) override
 
void updateTables ()
 
virtual void updateValues ()
 
void updateListViewItem ()
 

Protected Slots

void clearMessages ()
 

Attribute details

QPushButton* sofa::gui::qt::ModifyObject::buttonUpdate
protected
core::objectmodel::BaseData* sofa::gui::qt::ModifyObject::data_
protected
const ModifyObjectFlags sofa::gui::qt::ModifyObject::dialogFlags_
protected
QTabWidget* sofa::gui::qt::ModifyObject::dialogTab
protected
void* sofa::gui::qt::ModifyObject::Id_
protected
QTreeWidgetItem* sofa::gui::qt::ModifyObject::item_
protected
int sofa::gui::qt::ModifyObject::m_numMessages
protected
std::vector< QTabulationModifyObject* > sofa::gui::qt::ModifyObject::m_tabs
protected
QTextBrowser* sofa::gui::qt::ModifyObject::messageEdit
protected
QWidget* sofa::gui::qt::ModifyObject::messageTab
protected
core::objectmodel::Base* sofa::gui::qt::ModifyObject::node
protected
QTransformationWidget* sofa::gui::qt::ModifyObject::transformation
protected

Constructor details

sofa::gui::qt::ModifyObject::ModifyObject ( void *  Id,
QTreeWidgetItem *  item_clicked,
QWidget parent,
const ModifyObjectFlags dialogFlags,
const char *  name = 0,
bool  modal = false,
Qt::WindowFlags  f = 0 
)
explicit
sofa::gui::qt::ModifyObject::~ModifyObject ( )
inlineoverride

Function details

void sofa::gui::qt::ModifyObject::accept ( )
overrideslot
void sofa::gui::qt::ModifyObject::beginDataModification ( sofa::core::objectmodel::BaseData data)
signal
void sofa::gui::qt::ModifyObject::beginObjectModification ( sofa::core::objectmodel::Base object)
signal
void sofa::gui::qt::ModifyObject::clearMessages ( )
protectedslot
void sofa::gui::qt::ModifyObject::closeEvent ( QCloseEvent *  )
inlineoverrideslot
void sofa::gui::qt::ModifyObject::closeNow ( )
inlineslot
void sofa::gui::qt::ModifyObject::componentDirty ( bool  )
signal
void sofa::gui::qt::ModifyObject::createDialog ( core::objectmodel::Base node)
void sofa::gui::qt::ModifyObject::createDialog ( core::objectmodel::BaseData data)
void sofa::gui::qt::ModifyObject::dataModified ( QString  )
signal
void sofa::gui::qt::ModifyObject::dialogClosed ( void *  )
signal
void sofa::gui::qt::ModifyObject::endDataModification ( sofa::core::objectmodel::BaseData data)
signal
void sofa::gui::qt::ModifyObject::endObjectModification ( sofa::core::objectmodel::Base object)
signal
const ModifyObjectFlags& sofa::gui::qt::ModifyObject::getFlags ( )
inline
bool sofa::gui::qt::ModifyObject::hideData ( core::objectmodel::BaseData data)
inline
void sofa::gui::qt::ModifyObject::nodeNameModification ( simulation::Node )
signal
void sofa::gui::qt::ModifyObject::objectUpdated ( )
signal
void sofa::gui::qt::ModifyObject::openExternalBrowser ( const QUrl &  link)
slot
QString sofa::gui::qt::ModifyObject::parseDataModified ( )
protected
void sofa::gui::qt::ModifyObject::readOnlyData ( QTableWidget *  widget,
core::objectmodel::BaseData data 
)
void sofa::gui::qt::ModifyObject::readOnlyData ( QWidget widget,
core::objectmodel::BaseData data 
)
void sofa::gui::qt::ModifyObject::reject ( )
overrideslot
void sofa::gui::qt::ModifyObject::updateConsole ( )
protected
void sofa::gui::qt::ModifyObject::updateDataWidgets ( )
signal
void sofa::gui::qt::ModifyObject::updateListViewItem ( )
slot
void sofa::gui::qt::ModifyObject::updateTables ( )
slot
void sofa::gui::qt::ModifyObject::updateValues ( )
virtualslot