![]() |
YANE-Framework 1.1.0
|
Widget to modify constraints of the class Model object which is simulated.
Public Slots | |
void | publishSettings () |
Slot which defines the settings of the model used for simulation. | |
Public Member Functions | |
ConstraintsWidget (QSettings *settings, yane::Model::Model *model, QWidget *parent=0) | |
Construction. | |
~ConstraintsWidget () | |
Destructor. | |
Protected Slots | |
void | acceptData () |
Slot to send data to the simulation widget. | |
void | resetData () |
Slot which resets data to standard values. | |
Protected Member Functions | |
virtual void | hideEvent (QHideEvent *event) |
Function to hide the ConstraintsWidget dock. | |
void | readBounds () |
Function to obtain the bounds on state and control from the internal class Model object. | |
void | writeBounds () |
Function to set the bounds on state and control from the internal class Model object. | |
Protected Attributes | |
int | _constraintssize |
Array to store the original constraint values. | |
ParameterEditDelegate * | _editdelegate |
Pointer which provides a generic model for storing custom data. | |
QStandardItemModel * | _itemmodel |
Pointer assigning the configuration of this widget. | |
yane::Model::Model * | _model |
ettings for the ConstraintsWidget object | |
double * | _resetstorage |
Model used for simulation. | |
QSettings * | _settings |
Pointer of the yane::ModelQt2::ParameterEditDelegate objects. |
yane::ModelQt2::ConstraintsWidget::ConstraintsWidget | ( | QSettings * | settings, |
yane::Model::Model * | model, | ||
QWidget * | parent = 0 |
||
) |
settings | Settings for the ConstraintsWidget object |
modelinfo | Interface to class Model object |
parent | Parenting widget |
void yane::ModelQt2::ConstraintsWidget::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
event | QHideEvent triggered by user |