RobWorkProject  23.9.11-
Signals | Public Member Functions | List of all members
PropertyViewEditor Class Reference

Qt widget for editing a PropertyMap. More...

#include <PropertyViewEditor.hpp>

Inherits QtTreePropertyBrowser.

Signals

void propertyChanged (const std::string &identifier)
 if a property is changed then its identifier is signalled.
 

Public Member Functions

 PropertyViewEditor (QWidget *parent)
 Make new editor. More...
 
virtual ~PropertyViewEditor ()
 Destructor.
 
void setPropertyMap (rw::core::Ptr< rw::core::PropertyMap > map)
 set the propertymap and update it. More...
 
void update ()
 updates the propertyviewer with its propertymap
 
void setDecimals (const int decimals)
 sets the number of decimal places used for displaying properties of floats and double More...
 

Detailed Description

Qt widget for editing a PropertyMap.

Constructor & Destructor Documentation

◆ PropertyViewEditor()

PropertyViewEditor ( QWidget *  parent)

Make new editor.

Parameters
parent[in] the owning parent widget.

Member Function Documentation

◆ setDecimals()

void setDecimals ( const int  decimals)
inline

sets the number of decimal places used for displaying properties of floats and double

Parameters
decimalsNote that the update() must be called in order for the changes to take effect

◆ setPropertyMap()

void setPropertyMap ( rw::core::Ptr< rw::core::PropertyMap map)
inline

set the propertymap and update it.

Parameters
map

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