API Documentation
Loading...
Searching...
No Matches
DesignObjectOrientation Class Reference

#include <DesignObjectOrientation.h>

Inheritance diagram for DesignObjectOrientation:
[legend]
Collaboration diagram for DesignObjectOrientation:
[legend]

Public Member Functions

 DesignObjectOrientation (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
void setTarget (const DynamicPointer< QTDesignObject > &object)
 
- Public Member Functions inherited from OrientationEditor
 OrientationEditor (QWidget *parent=nullptr)
 
 ~OrientationEditor ()
 
Vector< 3, fltp08getUILocation () const
 
Vector< 3, Angle< fltp08 > > getUIRotation () const
 
Vector< 3, Angle< fltp08 > > getUIDialRotation () const
 
Vector< 3, fltp08getUIScale () const
 
void setOffsetTitle (const TranslatedString &title)
 
void setOffsetLabels (const TranslatedString &x, const TranslatedString &y, const TranslatedString &z)
 
void setScaleTitle (const TranslatedString &title)
 
void setRotationTitle (const TranslatedString &roll, const TranslatedString &pitch, const TranslatedString &yaw)
 
QCustomDialgetUIDial (uint01 orientation)
 
QCustomLineEditgetUILineEdit (uint01 orientation)
 
QBoxLayout * offsetLayout ()
 
Matrix< fltp08getMatrix ()
 
void setMatrix (const Matrix< fltp08 > &matrix)
 
void resizeEvent (QResizeEvent *event) override
 
void updateLabels ()
 
virtual QSize minimumSizeHint () const override
 
virtual QSize sizeHint () const override
 
void updateLayoutSize ()
 
void setAutoHideDials (bool auto_hide_dials)
 

Protected Slots

void modelUpdatedSlot ()
 
void orientationEditedSlot ()
 

Protected Attributes

DynamicPointer< QTDesignObjectm_design_object
 
- Protected Attributes inherited from OrientationEditor
Vector< 3, fltp08m_aspect_ratio
 
SizeMode m_size_mode
 
bool m_auto_hide_dials
 
QTResourceListenerm_units_listener
 
Ui::OrientationEditorUI * ui
 

Additional Inherited Members

- Public Types inherited from OrientationEditor
enum  SizeMode {
  e_normal , e_small_horizontal , e_small_vertical , e_tiny_horizontal ,
  e_tiny_vertical
}
 
- Public Slots inherited from OrientationEditor
void updatePosition ()
 
void updateOrientation ()
 
void updateScale ()
 
void lockAspectRatio ()
 
void setSizeMode (SizeMode mode)
 
- Signals inherited from OrientationEditor
void positionUpdated ()
 
void scaleUpdated ()
 
void orientationUpdated ()
 
void updated ()
 
void positionEdited ()
 
void scaleEdited ()
 
void orientationEdited ()
 
void edited ()
 
- Public Attributes inherited from OrientationEditor
Resource< Vector< 3, bool > > show_position
 
Resource< Vector< 3, bool > > show_scale
 
Resource< Vector< 3, bool > > show_orientation
 
Resource< Vector< 3, fltp08 > > position
 
Resource< Vector< 3, Angle< fltp08 > > > orientation
 
Resource< Vector< 3, fltp08 > > scale
 
Resource< Vector< 3, fltp08 > > max_position
 
Resource< Vector< 3, Angle< fltp08 > > > max_orientation
 
Resource< Vector< 3, fltp08 > > max_scale
 
Resource< Vector< 3, fltp08 > > min_position
 
Resource< Vector< 3, Angle< fltp08 > > > min_orientation
 
Resource< Vector< 3, fltp08 > > min_scale
 
Resource< ConstPointer< Unit > > angle_unit
 
Resource< ConstPointer< Unit > > size_unit
 
Resource< ConstPointer< Unit > > position_unit
 

Constructor & Destructor Documentation

◆ DesignObjectOrientation()

DesignObjectOrientation ( const DynamicPointer< QTDesignObject > & object,
QWidget * parent = nullptr )
inline

Member Function Documentation

◆ modelUpdatedSlot

void modelUpdatedSlot ( )
inlineprotectedslot

◆ orientationEditedSlot

void orientationEditedSlot ( )
inlineprotectedslot

◆ setTarget()

void setTarget ( const DynamicPointer< QTDesignObject > & object)
inline

Member Data Documentation

◆ m_design_object

DynamicPointer<QTDesignObject> m_design_object
protected

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