API Documentation
Loading...
Searching...
No Matches
Editor Class Referenceabstract

A base class for displaying options for editing a single DesignObject, typically a Model. More...

#include <Editor.h>

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

Signals

void isBusyStatusChanged ()
 
void objectUpdatedSignal ()
 

Public Member Functions

virtual bool allowDocking () const
 
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 fullscreenTouch () const
 
virtual bool isBusy () const
 
virtual InterfaceOrientationControllerorientationController () const
 
virtual Buffer< QWidget * > printableWidgetOptions ()
 
virtual Buffer< QWidget * > printableWidgets ()
 
virtual void requestScrollEnabled (bool enabled)
 
virtual void setHorizontal (bool horizontal)
 
virtual void setTarget (const DynamicPointer< QTDesignObject > &object)
 
virtual void setup (DesignObjectDialog *, const ShowPropertiesSettings &)
 
const DynamicPointer< QTDesignObject > & target () const
 
virtual void updateValues ()=0
 

Protected Slots

void onDesignObjectUpdateSlot ()
 

Protected Attributes

DynamicPointer< QTDesignObjectm_design_object
 
InterfaceOrientationControllerm_orientation_controller
 

Detailed Description

A base class for displaying options for editing a single DesignObject, typically a Model.


Constructor & Destructor Documentation

◆ Editor() [1/2]

Editor ( QWidget * parent = nullptr)

◆ Editor() [2/2]

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

Member Function Documentation

◆ allowDocking()

virtual bool allowDocking ( ) const
virtual

Reimplemented in StationEditor.

◆ bottomOptions()

virtual Buffer< QWidget * > bottomOptions ( )
inlinevirtual

◆ customDialogIcon()

virtual String customDialogIcon ( ) const
inlinevirtual

◆ customDialogTitle()

virtual TranslatedString customDialogTitle ( ) const
inlinevirtual

◆ fullscreenTouch()

virtual bool fullscreenTouch ( ) const
virtual

◆ isBusy()

virtual bool isBusy ( ) const
inlinevirtual

◆ isBusyStatusChanged

void isBusyStatusChanged ( )
signal

◆ objectUpdatedSignal

void objectUpdatedSignal ( )
signal

◆ onDesignObjectUpdateSlot

void onDesignObjectUpdateSlot ( )
protectedslot

◆ orientationController()

virtual InterfaceOrientationController * orientationController ( ) const
virtual

◆ printableWidgetOptions()

virtual Buffer< QWidget * > printableWidgetOptions ( )
inlinevirtual

Reimplemented in PolylineSliceEditor.

◆ printableWidgets()

virtual Buffer< QWidget * > printableWidgets ( )
inlinevirtual

◆ requestScrollEnabled()

virtual void requestScrollEnabled ( bool enabled)
virtual

Reimplemented in SolidMaterialEditor.

◆ setHorizontal()

virtual void setHorizontal ( bool horizontal)
virtual

◆ setTarget()

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

Reimplemented in StationEditor.

◆ setup()

virtual void setup ( DesignObjectDialog * ,
const ShowPropertiesSettings &  )
inlinevirtual

◆ target()

const DynamicPointer< QTDesignObject > & target ( ) const
inline

◆ updateValues()

Member Data Documentation

◆ m_design_object

DynamicPointer<QTDesignObject> m_design_object
protected

◆ m_orientation_controller

InterfaceOrientationController* m_orientation_controller
protected

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