Loading...
Searching...
No Matches
WidgetLayer::Presenter< Process_T, Widget_T > Class Template Referencefinal
Inheritance diagram for WidgetLayer::Presenter< Process_T, Widget_T >:
Process::LayerPresenter

Public Member Functions

 Presenter (const Process::ProcessModel &model, View *view, const Process::Context &ctx, QObject *parent)
 
void setWidth (qreal width, qreal defaultWidth) override
 
void setHeight (qreal val) override
 
void putToFront () override
 
void putBehind () override
 
void on_zoomRatioChanged (ZoomRatio) override
 
void parentGeometryChanged () override
 
- Public Member Functions inherited from Process::LayerPresenter
 LayerPresenter (const ProcessModel &model, const LayerView *view, const Context &ctx, QObject *parent)
 
const Process::LayerContextcontext () const
 
bool focused () const
 
void setFocus (bool focus)
 
virtual void on_focusChanged ()
 
virtual void setFullView ()
 
const ProcessModelmodel () const noexcept
 
virtual void fillContextMenu (QMenu &, QPoint pos, QPointF scenepos, const LayerContextMenuManager &)
 
virtual GraphicsShapeItemmakeSlotHeaderDelegate ()
 
void contextMenuRequested (const QPoint &arg_1, const QPointF &arg_2)
 

Additional Inherited Members

- Static Public Attributes inherited from Process::LayerPresenter
static constexpr bool recommendedHeight = false
 
- Protected Member Functions inherited from Process::LayerPresenter
void handlePresetDrop (const QPointF &pt, const QMimeData &mime)
 
void requestFocus ()
 
- Protected Attributes inherited from Process::LayerPresenter
Process::LayerContext m_context
 
const Process::ProcessModelm_process
 

Member Function Documentation

◆ on_zoomRatioChanged()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::on_zoomRatioChanged ( ZoomRatio  )
inlineoverridevirtual

◆ parentGeometryChanged()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::parentGeometryChanged ( )
inlineoverridevirtual

◆ putBehind()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::putBehind ( )
inlineoverridevirtual

◆ putToFront()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::putToFront ( )
inlineoverridevirtual

◆ setHeight()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::setHeight ( qreal  val)
inlineoverridevirtual

◆ setWidth()

template<typename Process_T , typename Widget_T >
void WidgetLayer::Presenter< Process_T, Widget_T >::setWidth ( qreal  width,
qreal  defaultWidth 
)
inlineoverridevirtual

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