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

A popup Editor dialog for showing options or information related to StationModel objects. More...

#include <StationEditor.h>

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

Public Slots

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

A popup Editor dialog for showing options or information related to StationModel objects.


Constructor & Destructor Documentation

◆ StationEditor() [1/2]

StationEditor ( QWidget * parent = nullptr)

◆ StationEditor() [2/2]

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

◆ ~StationEditor()

virtual ~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()

virtual 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 file: