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::WidgetPtrStringWidgetDictionary
 
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)
 
DescribedWidgetBasemakeDescribedWidget (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< DescribedCheckBoxregisterDescribedCheckBox
 
DescribedWidgetFactoryRegistration< DescribedDoubleLineEditregisterDescribedDoubleLineEdit
 
DescribedWidgetFactoryRegistration< DescribedDoubleSliderregisterDescribedDoubleSlider
 
DescribedWidgetFactoryRegistration< DescribedDoubleSpinBoxregisterDescribedDoubleSpinBox
 
DescribedWidgetFactoryRegistration< DescribedFloatLineEditregisterDescribedFloatLineEdit
 
DescribedWidgetFactoryRegistration< DescribedFloatSliderregisterDescribedFloatSlider
 
DescribedWidgetFactoryRegistration< DescribedFloatSpinBoxregisterDescribedFloatSpinBox
 
DescribedWidgetFactoryRegistration< DescribedFormLayoutregisterDescribedFormLayout
 
DescribedWidgetFactoryRegistration< DescribedFormLayoutElementregisterDescribedFormLayoutElement {FormLayoutElement::ice_staticId()}
 
DescribedWidgetFactoryRegistration< DescribedHBoxLayoutregisterDescribedHBoxLayout
 
DescribedWidgetFactoryRegistration< DescribedHLineregisterDescribedHLine
 
DescribedWidgetFactoryRegistration< DescribedHSpacerregisterDescribedHSpacer
 
DescribedWidgetFactoryRegistration< DescribedIntSliderregisterDescribedIntSlider
 
DescribedWidgetFactoryRegistration< DescribedIntSpinBoxregisterDescribedIntSpinBox
 
DescribedWidgetFactoryRegistration< DescribedLabelregisterDescribedLabel
 
DescribedWidgetFactoryRegistration< DescribedLineEditregisterDescribedLineEdit
 
DescribedWidgetFactoryRegistration< DescribedStringComboBoxregisterDescribedStringComboBox
 
DescribedWidgetFactoryRegistration< DescribedVariantWidgetregisterDescribedVariantWidget
 
DescribedWidgetFactoryRegistration< DescribedVBoxLayoutregisterDescribedVBoxLayout
 
DescribedWidgetFactoryRegistration< DescribedVLineregisterDescribedVLine
 
DescribedWidgetFactoryRegistration< DescribedVSpacerregisterDescribedVSpacer
 
DescribedWidgetFactoryRegistration< DescribedWidgetregisterDescribedWidget
 

Typedef Documentation

◆ DescribedWidgetFactory

◆ StringWidgetDictionary

Definition at line 70 of file NJointControllerBase.h.

◆ WidgetPtr

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

Definition at line 68 of file NJointControllerBase.h.

Function Documentation

◆ makeCheckBox() [1/2]

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

Definition at line 172 of file DefaultWidgetDescriptions.cpp.

◆ makeCheckBox() [2/2]

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

Definition at line 162 of file DefaultWidgetDescriptions.cpp.

◆ makeDescribedWidget()

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

Definition at line 892 of file WidgetDescription.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeDoubleLineEdit()

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

Definition at line 290 of file DefaultWidgetDescriptions.cpp.

◆ makeDoubleSlider()

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

Definition at line 251 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeDoubleSpinBox()

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

Definition at line 211 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeFloatLineEdit()

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

Definition at line 281 of file DefaultWidgetDescriptions.cpp.

◆ makeFloatSlider()

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

Definition at line 240 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeFloatSpinBox()

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

Definition at line 193 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeFormLayout() [1/2]

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

Definition at line 90 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeFormLayout() [2/2]

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

Definition at line 103 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeFormLayoutElement() [1/3]

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

Definition at line 59 of file DefaultWidgetDescriptions.cpp.

◆ makeFormLayoutElement() [2/3]

FormLayoutElementPtr makeFormLayoutElement ( WidgetPtr child,
bool spanning )

Definition at line 70 of file DefaultWidgetDescriptions.cpp.

◆ makeFormLayoutElement() [3/3]

FormLayoutElementPtr makeFormLayoutElement ( WidgetPtr labelWidget,
WidgetPtr child )

Definition at line 47 of file DefaultWidgetDescriptions.cpp.

+ Here is the caller graph for this function:

◆ makeFrame()

WidgetPtr makeFrame ( WidgetPtr child)

Definition at line 125 of file DefaultWidgetDescriptions.cpp.

◆ makeGroupBox()

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

Definition at line 115 of file DefaultWidgetDescriptions.cpp.

◆ makeHBoxLayout()

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

Definition at line 31 of file DefaultWidgetDescriptions.cpp.

+ Here is the caller graph for this function:

◆ makeHLine()

HLinePtr makeHLine ( )

Definition at line 144 of file DefaultWidgetDescriptions.cpp.

◆ makeHSpacer()

HSpacerPtr makeHSpacer ( )

Definition at line 132 of file DefaultWidgetDescriptions.cpp.

◆ makeIntSlider()

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

Definition at line 229 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeIntSpinBox()

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

Definition at line 182 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeLabel()

LabelPtr makeLabel ( std::string text)

Definition at line 156 of file DefaultWidgetDescriptions.cpp.

+ Here is the caller graph for this function:

◆ makeLineEdit()

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

Definition at line 272 of file DefaultWidgetDescriptions.cpp.

◆ makeRNSComboBox()

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

Definition at line 93 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeRobotNodeComboBox()

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

Definition at line 103 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeSpanningFormLayoutElement()

FormLayoutElementPtr makeSpanningFormLayoutElement ( WidgetPtr child)

Definition at line 84 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeStringComboBox()

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

Definition at line 262 of file DefaultWidgetDescriptions.cpp.

◆ makeStringSelectionComboBox() [1/6]

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

Definition at line 30 of file DefaultWidgetDescriptions.cpp.

+ Here is the caller graph for this function:

◆ makeStringSelectionComboBox() [2/6]

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

Definition at line 43 of file DefaultWidgetDescriptions.h.

+ Here is the call graph for this function:

◆ makeStringSelectionComboBox() [3/6]

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

Definition at line 40 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeStringSelectionComboBox() [4/6]

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

Definition at line 74 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeStringSelectionComboBox() [5/6]

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

Definition at line 57 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeStringSelectionComboBox() [6/6]

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

Definition at line 113 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:

◆ makeVBoxLayout()

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

Definition at line 39 of file DefaultWidgetDescriptions.cpp.

◆ makeVLine()

VLinePtr makeVLine ( )

Definition at line 150 of file DefaultWidgetDescriptions.cpp.

◆ makeVSpacer()

VSpacerPtr makeVSpacer ( )

Definition at line 138 of file DefaultWidgetDescriptions.cpp.

◆ makeXYZRollPitchYawWidget() [1/2]

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

Definition at line 104 of file DefaultWidgetDescriptions.h.

+ Here is the call graph for this function:

◆ 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}.

Definition at line 300 of file DefaultWidgetDescriptions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ DescribedGroupBox

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

Definition at line 194 of file WidgetDescription.cpp.

◆ registerDescribedCheckBox

Initial value:
{
CheckBox::ice_staticId()}

Definition at line 384 of file WidgetDescription.cpp.

◆ registerDescribedDoubleLineEdit

Initial value:
{
DoubleLineEdit::ice_staticId()}

Definition at line 692 of file WidgetDescription.cpp.

◆ registerDescribedDoubleSlider

Initial value:
{
DoubleSlider::ice_staticId()}

Definition at line 812 of file WidgetDescription.cpp.

◆ registerDescribedDoubleSpinBox

Initial value:
{
DoubleSpinBox::ice_staticId()}

Definition at line 464 of file WidgetDescription.cpp.

◆ registerDescribedFloatLineEdit

Initial value:
{
FloatLineEdit::ice_staticId()}

Definition at line 731 of file WidgetDescription.cpp.

◆ registerDescribedFloatSlider

Initial value:
{
FloatSlider::ice_staticId()}

Definition at line 855 of file WidgetDescription.cpp.

◆ registerDescribedFloatSpinBox

Initial value:
{
FloatSpinBox::ice_staticId()}

Definition at line 505 of file WidgetDescription.cpp.

◆ registerDescribedFormLayout

Initial value:
{
FormLayout::ice_staticId()}

Definition at line 144 of file WidgetDescription.cpp.

◆ registerDescribedFormLayoutElement

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

Definition at line 171 of file WidgetDescription.cpp.

◆ registerDescribedHBoxLayout

Initial value:
{
HBoxLayout::ice_staticId()}

Definition at line 113 of file WidgetDescription.cpp.

◆ registerDescribedHLine

Initial value:
{
HLine::ice_staticId()}

Definition at line 256 of file WidgetDescription.cpp.

◆ registerDescribedHSpacer

Initial value:
{
HSpacer::ice_staticId()}

Definition at line 216 of file WidgetDescription.cpp.

◆ registerDescribedIntSlider

Initial value:
{
IntSlider::ice_staticId()}

Definition at line 770 of file WidgetDescription.cpp.

◆ registerDescribedIntSpinBox

Initial value:
{
IntSpinBox::ice_staticId()}

Definition at line 423 of file WidgetDescription.cpp.

◆ registerDescribedLabel

Initial value:
{
Label::ice_staticId()}

Definition at line 297 of file WidgetDescription.cpp.

◆ registerDescribedLineEdit

Initial value:
{
LineEdit::ice_staticId()}

Definition at line 654 of file WidgetDescription.cpp.

◆ registerDescribedStringComboBox

Initial value:
{
StringComboBox::ice_staticId()}

Definition at line 617 of file WidgetDescription.cpp.

◆ registerDescribedVariantWidget

Initial value:
{
VariantWidget::ice_staticId()}

Definition at line 346 of file WidgetDescription.cpp.

◆ registerDescribedVBoxLayout

Initial value:
{
VBoxLayout::ice_staticId()}

Definition at line 93 of file WidgetDescription.cpp.

◆ registerDescribedVLine

Initial value:
{
VLine::ice_staticId()}

Definition at line 275 of file WidgetDescription.cpp.

◆ registerDescribedVSpacer

Initial value:
{
VSpacer::ice_staticId()}

Definition at line 237 of file WidgetDescription.cpp.

◆ registerDescribedWidget

Initial value:
{
Widget::ice_staticId()}

Definition at line 72 of file WidgetDescription.cpp.