#include <QSofaListView.h>
|
| QSofaListView (const SofaListViewAttribute &attribute, QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=Qt::WindowType::Widget) |
|
| ~QSofaListView () override |
|
GraphListenerQListView * | getListener () const |
|
void | setPropertyWidget (QDisplayPropertyWidget *propertyWid) |
|
void | addInPropertyWidget (QTreeWidgetItem *item, bool clear) |
|
void | Clear (sofa::simulation::Node *rootNode) |
|
void | update () |
|
void | setRoot (sofa::simulation::Node *) |
|
SofaListViewAttribute | getAttribute () const |
|
void | contextMenuEvent (QContextMenuEvent *event) override |
|
void | expandPathFrom (const std::vector< std::string > &pathes) |
|
void | getExpandedNodes (std::vector< std::string > &) |
|
void | loadObject (std::string path, double dx, double dy, double dz, double rx, double ry, double rz, double scale)=delete |
|
| SofaSceneGraphWidget (QWidget *parent) |
|
| ~SofaSceneGraphWidget () |
|
void | lock () |
|
void | unLock () |
|
bool | isDirty () |
|
bool | isLocked () |
| Returns true if the view updates for any scene graph change is disable. More...
|
|
void | setViewToDirty () |
|
◆ AddObjectDialog_
AddObject* sofa::gui::qt::QSofaListView::AddObjectDialog_ |
|
protected |
◆ attribute_
◆ graphListener_
◆ list_object
std::vector< std::string > sofa::gui::qt::QSofaListView::list_object |
|
protected |
◆ map_modifyDialogOpened
std::map< void*, QTreeWidgetItem* > sofa::gui::qt::QSofaListView::map_modifyDialogOpened |
|
protected |
◆ map_modifyObjectWindow
std::map< void*, QDialog* > sofa::gui::qt::QSofaListView::map_modifyObjectWindow |
|
protected |
◆ object_
◆ propertyWidget
◆ QSofaListView()
sofa::gui::qt::QSofaListView::QSofaListView |
( |
const SofaListViewAttribute & |
attribute, |
|
|
QWidget * |
parent = nullptr , |
|
|
const char * |
name = nullptr , |
|
|
Qt::WindowFlags |
f = Qt::WindowType::Widget |
|
) |
| |
◆ ~QSofaListView()
sofa::gui::qt::QSofaListView::~QSofaListView |
( |
| ) |
|
|
override |
◆ ActivateNode
void sofa::gui::qt::QSofaListView::ActivateNode |
( |
| ) |
|
|
protectedslot |
◆ addInPropertyWidget()
void sofa::gui::qt::QSofaListView::addInPropertyWidget |
( |
QTreeWidgetItem * |
item, |
|
|
bool |
clear |
|
) |
| |
◆ Clear()
◆ Close
void sofa::gui::qt::QSofaListView::Close |
( |
| ) |
|
|
signal |
◆ CloseAllDialogs
void sofa::gui::qt::QSofaListView::CloseAllDialogs |
( |
| ) |
|
|
slot |
◆ collapseNode [1/2]
void sofa::gui::qt::QSofaListView::collapseNode |
( |
| ) |
|
|
protectedslot |
◆ collapseNode() [2/2]
void sofa::gui::qt::QSofaListView::collapseNode |
( |
QTreeWidgetItem * |
item | ) |
|
|
protected |
◆ collectNodesToChange()
◆ contextMenuEvent()
void sofa::gui::qt::QSofaListView::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
override |
◆ copyFilePathToClipBoard
void sofa::gui::qt::QSofaListView::copyFilePathToClipBoard |
( |
| ) |
|
|
protectedslot |
◆ dataModified
void sofa::gui::qt::QSofaListView::dataModified |
( |
QString |
| ) |
|
|
signal |
◆ DeactivateNode
void sofa::gui::qt::QSofaListView::DeactivateNode |
( |
| ) |
|
|
protectedslot |
◆ expandNode [1/2]
void sofa::gui::qt::QSofaListView::expandNode |
( |
| ) |
|
|
protectedslot |
◆ expandNode() [2/2]
void sofa::gui::qt::QSofaListView::expandNode |
( |
QTreeWidgetItem * |
item | ) |
|
|
protected |
◆ expandPath()
void sofa::gui::qt::QSofaListView::expandPath |
( |
const std::string & |
path | ) |
|
|
protected |
◆ expandPathFrom()
void sofa::gui::qt::QSofaListView::expandPathFrom |
( |
const std::vector< std::string > & |
pathes | ) |
|
◆ ExpandRootNodeOnly
void sofa::gui::qt::QSofaListView::ExpandRootNodeOnly |
( |
| ) |
|
|
slot |
◆ Export
void sofa::gui::qt::QSofaListView::Export |
( |
| ) |
|
|
slot |
◆ exportOBJ
void sofa::gui::qt::QSofaListView::exportOBJ |
( |
| ) |
|
|
protectedslot |
◆ focusChanged [1/2]
◆ focusChanged [2/2]
◆ focusNode
void sofa::gui::qt::QSofaListView::focusNode |
( |
| ) |
|
|
protectedslot |
◆ focusObject
void sofa::gui::qt::QSofaListView::focusObject |
( |
| ) |
|
|
protectedslot |
◆ getAttribute()
◆ getExpandedNodes() [1/2]
void sofa::gui::qt::QSofaListView::getExpandedNodes |
( |
QTreeWidgetItem * |
item, |
|
|
std::vector< std::string > & |
pathes |
|
) |
| |
|
protected |
Traverse the item tree and retrive the item that are expanded. The path of the node that are expanded are stored in the pathes std::vector::std::string>.
◆ getExpandedNodes() [2/2]
void sofa::gui::qt::QSofaListView::getExpandedNodes |
( |
std::vector< std::string > & |
pathes | ) |
|
◆ getListener()
◆ isNodeErasable()
◆ loadObject()
void sofa::gui::qt::QSofaListView::loadObject |
( |
std::string |
path, |
|
|
double |
dx, |
|
|
double |
dy, |
|
|
double |
dz, |
|
|
double |
rx, |
|
|
double |
ry, |
|
|
double |
rz, |
|
|
double |
scale |
|
) |
| |
|
delete |
◆ Lock
void sofa::gui::qt::QSofaListView::Lock |
( |
bool |
| ) |
|
|
signal |
◆ Modify
void sofa::gui::qt::QSofaListView::Modify |
( |
| ) |
|
|
protectedslot |
◆ modifyUnlock
void sofa::gui::qt::QSofaListView::modifyUnlock |
( |
void * |
Id | ) |
|
|
protectedslot |
◆ NodeAdded
void sofa::gui::qt::QSofaListView::NodeAdded |
( |
| ) |
|
|
signal |
◆ nodeNameModification
void sofa::gui::qt::QSofaListView::nodeNameModification |
( |
simulation::Node * |
node | ) |
|
|
protectedslot |
◆ NodeRemoved
void sofa::gui::qt::QSofaListView::NodeRemoved |
( |
| ) |
|
|
signal |
◆ openImplementation
void sofa::gui::qt::QSofaListView::openImplementation |
( |
| ) |
|
|
protectedslot |
◆ openInEditor
void sofa::gui::qt::QSofaListView::openInEditor |
( |
| ) |
|
|
protectedslot |
◆ openInstanciation
void sofa::gui::qt::QSofaListView::openInstanciation |
( |
| ) |
|
|
protectedslot |
◆ PutNodeToSleep
void sofa::gui::qt::QSofaListView::PutNodeToSleep |
( |
| ) |
|
|
protectedslot |
◆ RemoveNode
void sofa::gui::qt::QSofaListView::RemoveNode |
( |
| ) |
|
|
protectedslot |
◆ RequestActivation
◆ RequestExportOBJ
◆ RequestSaving
◆ RequestSleeping
◆ RootNodeChanged
◆ RunSofaDoubleClicked
void sofa::gui::qt::QSofaListView::RunSofaDoubleClicked |
( |
QTreeWidgetItem * |
item, |
|
|
int |
index |
|
) |
| |
|
protectedslot |
◆ RunSofaRightClicked
void sofa::gui::qt::QSofaListView::RunSofaRightClicked |
( |
const QPoint & |
point | ) |
|
|
protectedslot |
◆ SaveNode
void sofa::gui::qt::QSofaListView::SaveNode |
( |
| ) |
|
|
protectedslot |
◆ setPropertyWidget()
◆ setRoot()
◆ transformObject()
void sofa::gui::qt::QSofaListView::transformObject |
( |
sofa::simulation::Node * |
node, |
|
|
double |
dx, |
|
|
double |
dy, |
|
|
double |
dz, |
|
|
double |
rx, |
|
|
double |
ry, |
|
|
double |
rz, |
|
|
double |
scale |
|
) |
| |
|
protecteddelete |
◆ update()
void sofa::gui::qt::QSofaListView::update |
( |
| ) |
|
Updates the view so it is synchronized with the simulation graph. The view can be visually de-synchronized with the simulation graph. This happens when the view is "frozen" for performance reason. In that case, use isDirty to get current view state or the dirtynessChanged() signal. To resynchronize the view call the update methid.
◆ Updated
void sofa::gui::qt::QSofaListView::Updated |
( |
| ) |
|
|
signal |
◆ updateMatchingObjectmodel [1/2]
void sofa::gui::qt::QSofaListView::updateMatchingObjectmodel |
( |
QTreeWidgetItem * |
item | ) |
|
|
protectedslot |
◆ updateMatchingObjectmodel [2/2]
void sofa::gui::qt::QSofaListView::updateMatchingObjectmodel |
( |
QTreeWidgetItem * |
item, |
|
|
int |
|
|
) |
| |
|
protectedslot |
◆ UpdateOpenedDialogs
void sofa::gui::qt::QSofaListView::UpdateOpenedDialogs |
( |
| ) |
|
|
slot |
◆ WakeUpNode
void sofa::gui::qt::QSofaListView::WakeUpNode |
( |
| ) |
|
|
protectedslot |