armarx::WidgetDescription Namespace Reference

Classes

class  DescribedCheckBox
 
class  DescribedDoubleLineEdit
 
class  DescribedDoubleSlider
 
class  DescribedDoubleSpinBox
 
class  DescribedFloatLineEdit
 
class  DescribedFloatSlider
 
class  DescribedFloatSpinBox
 
class  DescribedFormLayout
 
class  DescribedFormLayoutElement
 
class  DescribedGroupBox
 
class  DescribedHBoxLayout
 
class  DescribedHLine
 
class  DescribedHSpacer
 
class  DescribedIntSlider
 
class  DescribedIntSpinBox
 
class  DescribedLabel
 
class  DescribedLineEdit
 
class  DescribedStringComboBox
 
class  DescribedVariantWidget
 
class  DescribedVBoxLayout
 
class  DescribedVLine
 
class  DescribedVSpacer
 
class  DescribedWidget
 
class  DescribedWidgetBase
 
struct  DescribedWidgetFactoryRegistration
 
class  DescribedWidgetLayoutBase
 
class  SubclassOfQStyledItemDelegate
 
class  ValueChangedListenerInterface
 

Typedefs

using DescribedWidgetFactory
 
typedef ::std::map<::std::string, ::armarx::WidgetDescription::WidgetPtr > StringWidgetDictionary
 
typedef ::IceInternal::Handle<::armarx::WidgetDescription::Widget > WidgetPtr
 

Functions

CheckBoxPtr makeCheckBox (std::string name, bool defaultValue)
 
CheckBoxPtr makeCheckBox (std::string name, bool defaultValue, std::string label)
 
DescribedWidgetBase * makeDescribedWidget (const WidgetPtr &p, ValueChangedListenerInterface *listener)
 
DoubleLineEditPtr makeDoubleLineEdit (std::string name, double defaultValue)
 
DoubleSliderPtr makeDoubleSlider (std::string name, double min, double max, double defaultValue)
 
DoubleSpinBoxPtr makeDoubleSpinBox (std::string name, double min, double max, double defaultValue, int steps, int decimals)
 
FloatLineEditPtr makeFloatLineEdit (std::string name, float defaultValue)
 
FloatSliderPtr makeFloatSlider (std::string name, float min, float max, float defaultValue)
 
FloatSpinBoxPtr makeFloatSpinBox (std::string name, float min, float max, float defaultValue, int steps, int decimals)
 
FormLayoutPtr makeFormLayout (std::vector< std::pair< std::string, WidgetPtr > > elements)
 
FormLayoutPtr makeFormLayout (std::vector< WidgetPtr > elements)
 
FormLayoutElementPtr makeFormLayoutElement (std::string name, WidgetPtr child, bool spanning)
 
FormLayoutElementPtr makeFormLayoutElement (WidgetPtr child, bool spanning)
 
FormLayoutElementPtr makeFormLayoutElement (WidgetPtr labelWidget, WidgetPtr child)
 
WidgetPtr makeFrame (WidgetPtr child)
 
GroupBoxPtr makeGroupBox (std::string label, WidgetPtr child, bool framed)
 
HBoxLayoutPtr makeHBoxLayout (std::vector< WidgetPtr > elements)
 
HLinePtr makeHLine ()
 
HSpacerPtr makeHSpacer ()
 
IntSliderPtr makeIntSlider (std::string name, int min, int max, int defaultValue)
 
IntSpinBoxPtr makeIntSpinBox (std::string name, int min, int max, int defaultValue)
 
LabelPtr makeLabel (std::string text)
 
LineEditPtr makeLineEdit (std::string name, std::string defaultValue)
 
StringComboBoxPtr makeRNSComboBox (const VirtualRobot::RobotPtr &robot, std::string name, const std::set< std::string > &preferredSet, const std::string &mostPreferred)
 
StringComboBoxPtr makeRobotNodeComboBox (const VirtualRobot::RobotPtr &robot, std::string name, const std::set< std::string > &preferredSet, const std::string &mostPreferred)
 
FormLayoutElementPtr makeSpanningFormLayoutElement (WidgetPtr child)
 
StringComboBoxPtr makeStringComboBox (std::string name, std::vector< std::string > options, long defaultIndex)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options, const std::initializer_list< std::string > &preferredSet)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options, const std::set< std::string > &preferredSet)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options, const std::set< std::string > &preferredSet, const std::string &mostPreferred)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options, const std::string &mostPreferred)
 
StringComboBoxPtr makeStringSelectionComboBox (std::string name, std::vector< std::string > options, const std::string &mostPreferred, const std::set< std::string > &preferredSet)
 
VBoxLayoutPtr makeVBoxLayout (std::vector< WidgetPtr > elements)
 
VLinePtr makeVLine ()
 
VSpacerPtr makeVSpacer ()
 
HBoxLayoutPtr makeXYZRollPitchYawWidget (const std::string &namePrefix, FloatRange rangeLin, FloatRange rangeAng)
 
HBoxLayoutPtr makeXYZRollPitchYawWidget (const std::string &namePrefix="", float initX=0, float initY=0, float initZ=0, float initRoll=0, float initPitch=0, float initYaw=0, FloatRange rangeX={-25000, 25000}, FloatRange rangeY={-25000, 25000}, FloatRange rangeZ={-0, 25000}, FloatRange rangeRoll={-M_PI, M_PI}, FloatRange rangePitch={-M_PI, M_PI}, FloatRange rangeYaw={-M_PI, M_PI})
 Values will have the names namePrefix{X,Y,Z,Roll,Pitch,Yaw}.
 

Variables

DescribedWidgetFactoryRegistration< DescribedGroupBox > DescribedGroupBox
 
DescribedWidgetFactoryRegistration< DescribedCheckBox > registerDescribedCheckBox
 
DescribedWidgetFactoryRegistration< DescribedDoubleLineEdit > registerDescribedDoubleLineEdit
 
DescribedWidgetFactoryRegistration< DescribedDoubleSlider > registerDescribedDoubleSlider
 
DescribedWidgetFactoryRegistration< DescribedDoubleSpinBox > registerDescribedDoubleSpinBox
 
DescribedWidgetFactoryRegistration< DescribedFloatLineEdit > registerDescribedFloatLineEdit
 
DescribedWidgetFactoryRegistration< DescribedFloatSlider > registerDescribedFloatSlider
 
DescribedWidgetFactoryRegistration< DescribedFloatSpinBox > registerDescribedFloatSpinBox
 
DescribedWidgetFactoryRegistration< DescribedFormLayout > registerDescribedFormLayout
 
DescribedWidgetFactoryRegistration< DescribedFormLayoutElement > registerDescribedFormLayoutElement {FormLayoutElement::ice_staticId()}
 
DescribedWidgetFactoryRegistration< DescribedHBoxLayout > registerDescribedHBoxLayout
 
DescribedWidgetFactoryRegistration< DescribedHLine > registerDescribedHLine
 
DescribedWidgetFactoryRegistration< DescribedHSpacer > registerDescribedHSpacer
 
DescribedWidgetFactoryRegistration< DescribedIntSlider > registerDescribedIntSlider
 
DescribedWidgetFactoryRegistration< DescribedIntSpinBox > registerDescribedIntSpinBox
 
DescribedWidgetFactoryRegistration< DescribedLabel > registerDescribedLabel
 
DescribedWidgetFactoryRegistration< DescribedLineEdit > registerDescribedLineEdit
 
DescribedWidgetFactoryRegistration< DescribedStringComboBox > registerDescribedStringComboBox
 
DescribedWidgetFactoryRegistration< DescribedVariantWidget > registerDescribedVariantWidget
 
DescribedWidgetFactoryRegistration< DescribedVBoxLayout > registerDescribedVBoxLayout
 
DescribedWidgetFactoryRegistration< DescribedVLine > registerDescribedVLine
 
DescribedWidgetFactoryRegistration< DescribedVSpacer > registerDescribedVSpacer
 
DescribedWidgetFactoryRegistration< DescribedWidget > registerDescribedWidget
 

Typedef Documentation

◆ DescribedWidgetFactory

Initial value:
Stores key object pairs.
Definition Registrar.h:63
Definition WidgetDescription.h:51
::IceInternal::Handle<::armarx::WidgetDescription::Widget > WidgetPtr
Definition NJointControllerBase.h:68

◆ StringWidgetDictionary

◆ WidgetPtr

typedef ::IceInternal::Handle<::armarx::WidgetDescription::Widget> WidgetPtr

Function Documentation

◆ makeCheckBox() [1/2]

CheckBoxPtr makeCheckBox ( std::string name,
bool defaultValue )

◆ makeCheckBox() [2/2]

CheckBoxPtr makeCheckBox ( std::string name,
bool defaultValue,
std::string label )

◆ makeDescribedWidget()

DescribedWidgetBase * makeDescribedWidget ( const WidgetPtr & p,
ValueChangedListenerInterface * listener )

◆ makeDoubleLineEdit()

DoubleLineEditPtr makeDoubleLineEdit ( std::string name,
double defaultValue )

◆ makeDoubleSlider()

DoubleSliderPtr makeDoubleSlider ( std::string name,
double min,
double max,
double defaultValue )

◆ makeDoubleSpinBox()

DoubleSpinBoxPtr makeDoubleSpinBox ( std::string name,
double min,
double max,
double defaultValue,
int steps,
int decimals )

◆ makeFloatLineEdit()

FloatLineEditPtr makeFloatLineEdit ( std::string name,
float defaultValue )

◆ makeFloatSlider()

FloatSliderPtr makeFloatSlider ( std::string name,
float min,
float max,
float defaultValue )

◆ makeFloatSpinBox()

FloatSpinBoxPtr makeFloatSpinBox ( std::string name,
float min,
float max,
float defaultValue,
int steps,
int decimals )

◆ makeFormLayout() [1/2]

FormLayoutPtr makeFormLayout ( std::vector< std::pair< std::string, WidgetPtr > > elements)

◆ makeFormLayout() [2/2]

FormLayoutPtr makeFormLayout ( std::vector< WidgetPtr > elements)

◆ makeFormLayoutElement() [1/3]

FormLayoutElementPtr makeFormLayoutElement ( std::string name,
WidgetPtr child,
bool spanning )

◆ makeFormLayoutElement() [2/3]

FormLayoutElementPtr makeFormLayoutElement ( WidgetPtr child,
bool spanning )

◆ makeFormLayoutElement() [3/3]

FormLayoutElementPtr makeFormLayoutElement ( WidgetPtr labelWidget,
WidgetPtr child )

◆ makeFrame()

WidgetPtr makeFrame ( WidgetPtr child)

◆ makeGroupBox()

GroupBoxPtr makeGroupBox ( std::string label,
WidgetPtr child,
bool framed )

◆ makeHBoxLayout()

HBoxLayoutPtr makeHBoxLayout ( std::vector< WidgetPtr > elements)

◆ makeHLine()

HLinePtr makeHLine ( )

◆ makeHSpacer()

HSpacerPtr makeHSpacer ( )

◆ makeIntSlider()

IntSliderPtr makeIntSlider ( std::string name,
int min,
int max,
int defaultValue )

◆ makeIntSpinBox()

IntSpinBoxPtr makeIntSpinBox ( std::string name,
int min,
int max,
int defaultValue )

◆ makeLabel()

LabelPtr makeLabel ( std::string text)

◆ makeLineEdit()

LineEditPtr makeLineEdit ( std::string name,
std::string defaultValue )

◆ makeRNSComboBox()

StringComboBoxPtr makeRNSComboBox ( const VirtualRobot::RobotPtr & robot,
std::string name,
const std::set< std::string > & preferredSet,
const std::string & mostPreferred )

◆ makeRobotNodeComboBox()

StringComboBoxPtr makeRobotNodeComboBox ( const VirtualRobot::RobotPtr & robot,
std::string name,
const std::set< std::string > & preferredSet,
const std::string & mostPreferred )

◆ makeSpanningFormLayoutElement()

FormLayoutElementPtr makeSpanningFormLayoutElement ( WidgetPtr child)

◆ makeStringComboBox()

StringComboBoxPtr makeStringComboBox ( std::string name,
std::vector< std::string > options,
long defaultIndex )

◆ makeStringSelectionComboBox() [1/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options )

◆ makeStringSelectionComboBox() [2/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options,
const std::initializer_list< std::string > & preferredSet )
inline

◆ makeStringSelectionComboBox() [3/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options,
const std::set< std::string > & preferredSet )

◆ makeStringSelectionComboBox() [4/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options,
const std::set< std::string > & preferredSet,
const std::string & mostPreferred )

◆ makeStringSelectionComboBox() [5/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options,
const std::string & mostPreferred )

◆ makeStringSelectionComboBox() [6/6]

StringComboBoxPtr makeStringSelectionComboBox ( std::string name,
std::vector< std::string > options,
const std::string & mostPreferred,
const std::set< std::string > & preferredSet )

◆ makeVBoxLayout()

VBoxLayoutPtr makeVBoxLayout ( std::vector< WidgetPtr > elements)

◆ makeVLine()

VLinePtr makeVLine ( )

◆ makeVSpacer()

VSpacerPtr makeVSpacer ( )

◆ makeXYZRollPitchYawWidget() [1/2]

HBoxLayoutPtr makeXYZRollPitchYawWidget ( const std::string & namePrefix,
FloatRange rangeLin,
FloatRange rangeAng )
inline

◆ makeXYZRollPitchYawWidget() [2/2]

HBoxLayoutPtr makeXYZRollPitchYawWidget ( const std::string & namePrefix,
float initX,
float initY,
float initZ,
float initRoll,
float initPitch,
float initYaw,
FloatRange rangeX,
FloatRange rangeY,
FloatRange rangeZ,
FloatRange rangeRoll,
FloatRange rangePitch,
FloatRange rangeYaw )

Values will have the names namePrefix{X,Y,Z,Roll,Pitch,Yaw}.

Variable Documentation

◆ DescribedGroupBox

DescribedWidgetFactoryRegistration<DescribedGroupBox> DescribedGroupBox
Initial value:
{
GroupBox::ice_staticId()}

◆ registerDescribedCheckBox

Initial value:
{
CheckBox::ice_staticId()}

◆ registerDescribedDoubleLineEdit

Initial value:
{
DoubleLineEdit::ice_staticId()}

◆ registerDescribedDoubleSlider

Initial value:
{
DoubleSlider::ice_staticId()}

◆ registerDescribedDoubleSpinBox

Initial value:
{
DoubleSpinBox::ice_staticId()}

◆ registerDescribedFloatLineEdit

Initial value:
{
FloatLineEdit::ice_staticId()}

◆ registerDescribedFloatSlider

Initial value:
{
FloatSlider::ice_staticId()}

◆ registerDescribedFloatSpinBox

Initial value:
{
FloatSpinBox::ice_staticId()}

◆ registerDescribedFormLayout

Initial value:
{
FormLayout::ice_staticId()}

◆ registerDescribedFormLayoutElement

DescribedWidgetFactoryRegistration<DescribedFormLayoutElement> registerDescribedFormLayoutElement {FormLayoutElement::ice_staticId()}

◆ registerDescribedHBoxLayout

Initial value:
{
HBoxLayout::ice_staticId()}

◆ registerDescribedHLine

Initial value:
{
HLine::ice_staticId()}

◆ registerDescribedHSpacer

Initial value:
{
HSpacer::ice_staticId()}

◆ registerDescribedIntSlider

Initial value:
{
IntSlider::ice_staticId()}

◆ registerDescribedIntSpinBox

Initial value:
{
IntSpinBox::ice_staticId()}

◆ registerDescribedLabel

Initial value:
{
Label::ice_staticId()}

◆ registerDescribedLineEdit

Initial value:
{
LineEdit::ice_staticId()}

◆ registerDescribedStringComboBox

Initial value:
{
StringComboBox::ice_staticId()}

◆ registerDescribedVariantWidget

Initial value:
{
VariantWidget::ice_staticId()}

◆ registerDescribedVBoxLayout

Initial value:
{
VBoxLayout::ice_staticId()}

◆ registerDescribedVLine

Initial value:
{
VLine::ice_staticId()}

◆ registerDescribedVSpacer

Initial value:
{
VSpacer::ice_staticId()}

◆ registerDescribedWidget

Initial value:
{
Widget::ice_staticId()}