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

Allows the user to adjust the orientation for a design object (DEPRICATED) More...

#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
Matrix< fltp08getMatrix ()
 
QCustomDialgetUIDial (uint01 orientation)
 
Vector< 3, Angle< fltp08 > > getUIDialRotation () const
 
QCustomLineEditgetUILineEdit (uint01 orientation)
 
Vector< 3, fltp08getUILocation () const
 
Vector< 3, Angle< fltp08 > > getUIRotation () const
 
Vector< 3, fltp08getUIScale () const
 
virtual QSize minimumSizeHint () const override
 
QBoxLayout * offsetLayout ()
 
 OrientationEditor (QWidget *parent=nullptr)
 
void resizeEvent (QResizeEvent *event) override
 
void setAutoHideDials (bool auto_hide_dials)
 
void setMatrix (const Matrix< fltp08 > &matrix)
 
void setOffsetLabels (const TranslatedString &x, const TranslatedString &y, const TranslatedString &z)
 
void setOffsetTitle (const TranslatedString &title)
 
void setRotationTitle (const TranslatedString &roll, const TranslatedString &pitch, const TranslatedString &yaw)
 
void setScaleTitle (const TranslatedString &title)
 
virtual QSize sizeHint () const override
 
void updateLabels ()
 
void updateLayoutSize ()
 
 ~OrientationEditor ()
 

Protected Slots

void modelUpdatedSlot ()
 
void orientationEditedSlot ()
 

Protected Attributes

DynamicPointer< QTDesignObjectm_design_object
 
- Protected Attributes inherited from OrientationEditor
Vector< 3, fltp08m_aspect_ratio
 
bool m_auto_hide_dials
 
SizeMode m_size_mode
 
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 lockAspectRatio ()
 
void setSizeMode (SizeMode mode)
 
void updateOrientation ()
 
void updatePosition ()
 
void updateScale ()
 
- Signals inherited from OrientationEditor
void edited ()
 
void orientationEdited ()
 
void orientationUpdated ()
 
void positionEdited ()
 
void positionUpdated ()
 
void scaleEdited ()
 
void scaleUpdated ()
 
void updated ()
 
- Public Attributes inherited from OrientationEditor
Resource< ConstPointer< Unit > > angle_unit
 
Resource< Vector< 3, Angle< fltp08 > > > max_orientation
 
Resource< Vector< 3, fltp08 > > max_position
 
Resource< Vector< 3, fltp08 > > max_scale
 
Resource< Vector< 3, Angle< fltp08 > > > min_orientation
 
Resource< Vector< 3, fltp08 > > min_position
 
Resource< Vector< 3, fltp08 > > min_scale
 
Resource< Vector< 3, Angle< fltp08 > > > orientation
 
Resource< Vector< 3, fltp08 > > position
 
Resource< ConstPointer< Unit > > position_unit
 
Resource< Vector< 3, fltp08 > > scale
 
Resource< Vector< 3, bool > > show_orientation
 
Resource< Vector< 3, bool > > show_position
 
Resource< Vector< 3, bool > > show_scale
 
Resource< ConstPointer< Unit > > size_unit
 

Detailed Description

Allows the user to adjust the orientation for a design object (DEPRICATED)


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: