An EditorWidget is a container widget in which a type specific display/editor can be included. To use this widget suimply instanciate it, call the createEditor function with the data type to display/edit and then connect a Property/Joint to it. All synchronisation and update is done internally.
More...
#include <EditorWidget.h>
An EditorWidget is a container widget in which a type specific display/editor can be included. To use this widget suimply instanciate it, call the createEditor function with the data type to display/edit and then connect a Property/Joint to it. All synchronisation and update is done internally.
- Author
- Berwein
- Version
- Date
- 2012-08-10 11:05:00 AM
◆ EditorWidget()
EditorWidget::EditorWidget |
( |
Nice::JointPtr |
_node, |
|
|
bool |
_locked, |
|
|
const std::string & |
_gui = "Unset" , |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ ~EditorWidget()
EditorWidget::~EditorWidget |
( |
| ) |
|
|
virtual |
◆ closeEvent()
void EditorWidget::closeEvent |
( |
QCloseEvent * |
event | ) |
|
|
privatevirtual |
◆ connect()
Connect the internal editor widget to a Joint which has a Property of the same type.
- Parameters
-
◆ createEditor()
void EditorWidget::createEditor |
( |
QWidget * |
_bi | ) |
|
Creates the internal editor widget for a specific data type E.
◆ displayChanged()
void EditorWidget::displayChanged |
( |
const std::string & |
_name | ) |
|
◆ getSessionData()
Get the session data af the internal data widget.
The internal widget has to decide itselfe which relevant data has to be added to the session data.
- Parameters
-
_data | Reference to a Joint node. Below this node session data will be added by the internal widget. editor widget. |
◆ setSessionData()
Set the session data included in the subtree of the passed Joint.
The internal editor widget decides itselfe which data is relevant.
- Parameters
-
data | Reference to a Joint node. Below this node session data will be read by the internal widget. |
- Returns
◆ setSetButton()
void EditorWidget::setSetButton |
( |
| ) |
|
|
private |
◆ ::NiceInternal::ProfileLoadSquirrel
◆ AbstractWidget
◆ AbstractWidgetItem
◆ Mdi
◆ TreeWidgetItem
◆ dataField
◆ m_history
QCheckBox* EditorWidget::m_history |
|
private |
◆ m_layout
QHBoxLayout* EditorWidget::m_layout |
|
private |
◆ m_node
◆ m_set
Set/Revert Button. These Buttons are placed inside m_layout.
◆ m_widget
QWidget* EditorWidget::m_widget |
|
private |
The documentation for this class was generated from the following files: