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

#include <StationEditor.h>

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

Public Slots

void setPrismOffsetSlot ()
 
void updatePositionFromDialogSlot ()
 
void updateRelativePositionFromDialog ()
 
void updateFromReferenceCombo ()
 

Public Member Functions

 StationEditor (QWidget *parent=nullptr)
 
 StationEditor (const DynamicPointer< QTDesignObject > &station, QWidget *parent=nullptr)
 
virtual ~StationEditor ()
 
virtual void setTarget (const DynamicPointer< QTDesignObject > &object) override
 
void setupForNewTarget ()
 
void updateValues () override
 
void showEditingControls (bool show)
 
void addStationToolWidget (QWidget *widget)
 
bool allowDocking () const override
 
Buffer< QWidget * > printableWidgets () override
 
Vertex< 3, fltp08currentLocation () const
 
QSize sizeHint () const override
 
void resizeEvent (QResizeEvent *event) override
 
bool fullscreenTouch () const override
 
bool supportsRelative () const
 
bool isPrismStation () const
 
bool isInRelativeMode () const
 
void setHorizontal (bool horizontal) override
 
- Public Member Functions inherited from Editor
 Editor (QWidget *parent=nullptr)
 
 Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
virtual TranslatedString customDialogTitle () const
 
virtual String customDialogIcon () const
 
virtual InterfaceOrientationControllerorientationController () const
 
virtual Buffer< QWidget * > printableWidgetOptions ()
 
virtual Buffer< QWidget * > bottomOptions ()
 
virtual void requestScrollEnabled (bool enabled)
 
const DynamicPointer< QTDesignObject > & target () const
 
virtual void setup (DesignObjectDialog *, const ShowPropertiesSettings &)
 
virtual bool isBusy () const
 

Protected Member Functions

void init ()
 
void setPositionFromDialog ()
 
void clearReferenceInformation ()
 
void updateComputedPosition ()
 
void setupRelativePosition ()
 
void updateRelativePosition ()
 

Protected Attributes

Ui::StationEditorUI * ui
 
Buffer< QWidget * > m_tool_widgets
 
Buffer< QWidget * > m_printable_docs
 
QCustomTabWidgetm_tool_tab_widget
 
- Protected Attributes inherited from Editor
InterfaceOrientationControllerm_orientation_controller
 
DynamicPointer< QTDesignObjectm_design_object
 

Additional Inherited Members

- Signals inherited from Editor
void objectUpdatedSignal ()
 
void isBusyStatusChanged ()
 
- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Constructor & Destructor Documentation

◆ StationEditor() [1/2]

StationEditor ( QWidget * parent = nullptr)

◆ StationEditor() [2/2]

StationEditor ( const DynamicPointer< QTDesignObject > & station,
QWidget * parent = nullptr )

◆ ~StationEditor()

~StationEditor ( )
virtual

Member Function Documentation

◆ addStationToolWidget()

void addStationToolWidget ( QWidget * widget)

◆ allowDocking()

bool allowDocking ( ) const
overridevirtual

Reimplemented from Editor.

◆ clearReferenceInformation()

void clearReferenceInformation ( )
protected

◆ currentLocation()

Vertex< 3, fltp08 > currentLocation ( ) const

◆ fullscreenTouch()

bool fullscreenTouch ( ) const
overridevirtual

Reimplemented from Editor.

◆ init()

void init ( )
protected

◆ isInRelativeMode()

bool isInRelativeMode ( ) const

◆ isPrismStation()

bool isPrismStation ( ) const

◆ printableWidgets()

Buffer< QWidget * > printableWidgets ( )
overridevirtual

Reimplemented from Editor.

◆ resizeEvent()

void resizeEvent ( QResizeEvent * event)
override

◆ setHorizontal()

void setHorizontal ( bool horizontal)
overridevirtual

Reimplemented from Editor.

◆ setPositionFromDialog()

void setPositionFromDialog ( )
protected

◆ setPrismOffsetSlot

void setPrismOffsetSlot ( )
slot

◆ setTarget()

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

Reimplemented from Editor.

◆ setupForNewTarget()

void setupForNewTarget ( )

◆ setupRelativePosition()

void setupRelativePosition ( )
protected

◆ showEditingControls()

void showEditingControls ( bool show)

◆ sizeHint()

QSize sizeHint ( ) const
override

◆ supportsRelative()

bool supportsRelative ( ) const

◆ updateComputedPosition()

void updateComputedPosition ( )
protected

◆ updateFromReferenceCombo

void updateFromReferenceCombo ( )
slot

◆ updatePositionFromDialogSlot

void updatePositionFromDialogSlot ( )
slot

◆ updateRelativePosition()

void updateRelativePosition ( )
protected

◆ updateRelativePositionFromDialog

void updateRelativePositionFromDialog ( )
slot

◆ updateValues()

void updateValues ( )
overridevirtual

Implements Editor.

Member Data Documentation

◆ m_printable_docs

Buffer<QWidget*> m_printable_docs
protected

◆ m_tool_tab_widget

QCustomTabWidget* m_tool_tab_widget
protected

◆ m_tool_widgets

Buffer<QWidget*> m_tool_widgets
protected

◆ ui

Ui::StationEditorUI* ui
protected

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