TwiceAsNice  2019-02-18
Public Slots | Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
WMatrixBox Class Reference

#include <WMatrixBox.h>

Inheritance diagram for WMatrixBox:
Inheritance graph
Collaboration diagram for WMatrixBox:
Collaboration graph

Public Slots

virtual void slot_setLabels (std::vector< std::string > text)
 
void slot_setMin (Nice::Double d)
 
void slot_setMax (Nice::Double d)
 
void slot_setStep (Nice::Double d)
 
void slot_setPrec (Nice::I32 i)
 
bool getShowLabel ()
 
virtual void setShowLabels (bool _show)
 
void setVertical (bool _vert)
 
void set ()
 
virtual void slot_setLabels (std::vector< std::string > text)
 
void slot_setMin (Nice::Double d)
 
void slot_setMax (Nice::Double d)
 
void slot_setStep (Nice::Double d)
 
void slot_setPrec (Nice::I32 i)
 
bool getShowLabel ()
 
virtual void setShowLabels (bool _show)
 
void setVertical (bool _vert)
 
void set ()
 
virtual void slot_setLabels (std::vector< std::string > text)
 
void slot_setMin (Nice::Double d)
 
void slot_setMax (Nice::Double d)
 
void slot_setStep (Nice::Double d)
 
void slot_setPrec (Nice::I32 i)
 
bool getShowLabel ()
 
virtual void setShowLabels (bool _show)
 
void setVertical (bool _vert)
 
void set ()
 

Public Member Functions

 WMatrixBox (QWidget *parent=0, bool _connect=false)
 
int getVertical () const
 
virtual void updateGUI (const Nice::Any &_val)
 
void setState (Nice::CompletionState _state)
 
virtual void initSlots ()
 
 WMatrixBox (QWidget *parent=0, bool _connect=false)
 
int getVertical () const
 
virtual void updateGUI (const Nice::Any &_val)
 
void setState (Nice::CompletionState _state)
 
virtual void initSlots ()
 
 WMatrixBox (QWidget *parent=0, bool _connect=false)
 
int getVertical () const
 
virtual void updateGUI (const Nice::Any &_val)
 
void setState (Nice::CompletionState _state)
 
virtual void initSlots ()
 
- Public Member Functions inherited from Nice::BridgeItem
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 

Properties

QString PropertyNode
 
bool AutoSynch
 
bool Vertical
 

Private Member Functions

void create ()
 
void create ()
 
void create ()
 

Private Attributes

QBoxLayout * m_mainLayout
 
QHBoxLayout * m_m1Layout
 
QHBoxLayout * m_m2Layout
 
QHBoxLayout * m_dLayout
 
DoubleSpinBoxm_m11spinBox
 
DoubleSpinBoxm_m12spinBox
 
DoubleSpinBoxm_m21spinBox
 
DoubleSpinBoxm_m22spinBox
 
DoubleSpinBoxm_dxspinBox
 
DoubleSpinBoxm_dyspinBox
 
bool m_vertical
 

Additional Inherited Members

- Public Attributes inherited from Nice::BridgeItem
QGroupBox * m_container
 
bool m_locked
 
- Static Public Attributes inherited from Nice::BridgeItem
static std::map< CompletionState, QString > * s_palette = 0
 
- Protected Member Functions inherited from Nice::BridgeItem
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 
- Protected Attributes inherited from Nice::BridgeItem
bool m_inited
 
CompletionState m_state
 
bool m_autoSynch
 
bool m_isUserConfirmationNeeded
 
Nice::Jointm_root
 
Nice::Propertym_prop
 
WaveBreakerPtr m_breaker
 
bool m_showLabels
 
Nice::I64 m_id
 
QString m_nodeName
 
std::vector< Nice::PropertyPtrm_connectedProps
 

Constructor & Destructor Documentation

◆ WMatrixBox() [1/3]

WMatrixBox::WMatrixBox ( QWidget *  parent = 0,
bool  _connect = false 
)
Parameters

◆ WMatrixBox() [2/3]

WMatrixBox::WMatrixBox ( QWidget *  parent = 0,
bool  _connect = false 
)
Parameters

◆ WMatrixBox() [3/3]

WMatrixBox::WMatrixBox ( QWidget *  parent = 0,
bool  _connect = false 
)
Parameters

Member Function Documentation

◆ create() [1/3]

void WMatrixBox::create ( )
private
Parameters

◆ create() [2/3]

void WMatrixBox::create ( )
private
Parameters

◆ create() [3/3]

void WMatrixBox::create ( )
private
Parameters

◆ getShowLabel [1/3]

bool WMatrixBox::getShowLabel ( )
slot
Parameters

◆ getShowLabel [2/3]

bool WMatrixBox::getShowLabel ( )
slot
Parameters

◆ getShowLabel [3/3]

bool WMatrixBox::getShowLabel ( )
slot
Parameters

◆ getVertical() [1/3]

int WMatrixBox::getVertical ( ) const
Parameters

◆ getVertical() [2/3]

int WMatrixBox::getVertical ( ) const
Parameters

◆ getVertical() [3/3]

int WMatrixBox::getVertical ( ) const
Parameters

◆ initSlots() [1/3]

virtual void WMatrixBox::initSlots ( )
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ initSlots() [2/3]

virtual void WMatrixBox::initSlots ( )
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ initSlots() [3/3]

void WMatrixBox::initSlots ( )
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ set [1/3]

void WMatrixBox::set ( )
slot
Parameters

◆ set [2/3]

void WMatrixBox::set ( )
slot
Parameters

◆ set [3/3]

void WMatrixBox::set ( )
slot
Parameters

◆ setShowLabels [1/3]

virtual void WMatrixBox::setShowLabels ( bool  _show)
virtualslot
Parameters

◆ setShowLabels [2/3]

virtual void WMatrixBox::setShowLabels ( bool  _show)
virtualslot
Parameters

◆ setShowLabels [3/3]

void WMatrixBox::setShowLabels ( bool  _show)
virtualslot
Parameters

◆ setState() [1/3]

void WMatrixBox::setState ( Nice::CompletionState  _state)
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ setState() [2/3]

void WMatrixBox::setState ( Nice::CompletionState  _state)
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ setState() [3/3]

void WMatrixBox::setState ( Nice::CompletionState  _state)
virtual
Parameters

Reimplemented from Nice::BridgeItem.

◆ setVertical [1/3]

void WMatrixBox::setVertical ( bool  _vert)
slot
Parameters

◆ setVertical [2/3]

void WMatrixBox::setVertical ( bool  _vert)
slot
Parameters

◆ setVertical [3/3]

void WMatrixBox::setVertical ( bool  _vert)
slot
Parameters

◆ slot_setLabels [1/3]

virtual void WMatrixBox::slot_setLabels ( std::vector< std::string >  text)
virtualslot
Parameters

◆ slot_setLabels [2/3]

void WMatrixBox::slot_setLabels ( std::vector< std::string >  text)
virtualslot
Parameters

◆ slot_setLabels [3/3]

virtual void WMatrixBox::slot_setLabels ( std::vector< std::string >  text)
virtualslot
Parameters

◆ slot_setMax [1/3]

void WMatrixBox::slot_setMax ( Nice::Double  d)
slot
Parameters

◆ slot_setMax [2/3]

void WMatrixBox::slot_setMax ( Nice::Double  d)
slot
Parameters

◆ slot_setMax [3/3]

void WMatrixBox::slot_setMax ( Nice::Double  d)
slot
Parameters

◆ slot_setMin [1/3]

void WMatrixBox::slot_setMin ( Nice::Double  d)
slot
Parameters

◆ slot_setMin [2/3]

void WMatrixBox::slot_setMin ( Nice::Double  d)
slot
Parameters

◆ slot_setMin [3/3]

void WMatrixBox::slot_setMin ( Nice::Double  d)
slot
Parameters

◆ slot_setPrec [1/3]

void WMatrixBox::slot_setPrec ( Nice::I32  i)
slot
Parameters

◆ slot_setPrec [2/3]

void WMatrixBox::slot_setPrec ( Nice::I32  i)
slot
Parameters

◆ slot_setPrec [3/3]

void WMatrixBox::slot_setPrec ( Nice::I32  i)
slot
Parameters

◆ slot_setStep [1/3]

void WMatrixBox::slot_setStep ( Nice::Double  d)
slot
Parameters

◆ slot_setStep [2/3]

void WMatrixBox::slot_setStep ( Nice::Double  d)
slot
Parameters

◆ slot_setStep [3/3]

void WMatrixBox::slot_setStep ( Nice::Double  d)
slot
Parameters

◆ updateGUI() [1/3]

virtual void WMatrixBox::updateGUI ( const Nice::Any _val)
virtual
Parameters

◆ updateGUI() [2/3]

virtual void WMatrixBox::updateGUI ( const Nice::Any _val)
virtual
Parameters

◆ updateGUI() [3/3]

void WMatrixBox::updateGUI ( const Nice::Any _val)
virtual
Parameters

Member Data Documentation

◆ m_dLayout

QHBoxLayout * WMatrixBox::m_dLayout
private

◆ m_dxspinBox

DoubleSpinBox * WMatrixBox::m_dxspinBox
private

◆ m_dyspinBox

DoubleSpinBox * WMatrixBox::m_dyspinBox
private

◆ m_m11spinBox

DoubleSpinBox * WMatrixBox::m_m11spinBox
private

◆ m_m12spinBox

DoubleSpinBox * WMatrixBox::m_m12spinBox
private

◆ m_m1Layout

QHBoxLayout * WMatrixBox::m_m1Layout
private

◆ m_m21spinBox

DoubleSpinBox * WMatrixBox::m_m21spinBox
private

◆ m_m22spinBox

DoubleSpinBox * WMatrixBox::m_m22spinBox
private

◆ m_m2Layout

QHBoxLayout * WMatrixBox::m_m2Layout
private

◆ m_mainLayout

QBoxLayout * WMatrixBox::m_mainLayout
private

◆ m_vertical

bool WMatrixBox::m_vertical
private

Property Documentation

◆ AutoSynch

bool WMatrixBox::AutoSynch
readwrite

◆ PropertyNode

QString WMatrixBox::PropertyNode
readwrite

◆ Vertical

bool WMatrixBox::Vertical
readwrite

The documentation for this class was generated from the following files: