Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
AbstractView Class Referenceabstract

#include <AbstractView.hpp>

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

Public Member Functions

 AbstractView ()=delete
 
 AbstractView (std::string title)
 
 AbstractView (const AbstractView &other)=delete
 
 AbstractView (AbstractView &&other)=delete
 
virtual ~AbstractView ()
 
AbstractViewoperator= (const AbstractView &other)=delete
 
AbstractViewoperator= (AbstractView &&other)=delete
 
IWidgetmakeComponentFrame (CDialog *dialogFather, IComponentsGUI *frame, IListenerChange **listenerChange)
 
void runClose ()
 
bool runIsAccept (std::string *messageError)
 
AbstractComponentGUIunRefView ()
 
void scheduleUpdate (bool schedule=true)
 
bool updateScheduled () const
 
void update ()
 
std::string getTitle () const
 
virtual bool isViewEditor ()
 
virtual std::optional< iv::views::editor::eEditorViewgetEditorViewType ()
 
AbstractViewPanelEditorgetPanelEditor ()
 

Private Member Functions

virtual AbstractComponentGUIcreate (CDialog *dialogFather, AbstractViewPanelEditor **viewPanelEditor)=0
 

Private Attributes

std::string m_title
 
AbstractComponentGUIm_componentView
 
AbstractViewPanelEditorm_panelEditor
 
bool m_updateScheduled
 

Constructor & Destructor Documentation

◆ AbstractView() [1/4]

AbstractView::AbstractView ( )
delete

◆ AbstractView() [2/4]

AbstractView::AbstractView ( std::string title)
explicit

◆ AbstractView() [3/4]

AbstractView::AbstractView ( const AbstractView & other)
delete

◆ AbstractView() [4/4]

AbstractView::AbstractView ( AbstractView && other)
delete

◆ ~AbstractView()

AbstractView::~AbstractView ( )
virtual

Member Function Documentation

◆ create()

◆ getEditorViewType()

◆ getPanelEditor()

AbstractViewPanelEditor * AbstractView::getPanelEditor ( )

getPanelEditor

Returns
view panel used to build the component view.

◆ getTitle()

std::string AbstractView::getTitle ( ) const
nodiscard

◆ isViewEditor()

◆ makeComponentFrame()

IWidget * AbstractView::makeComponentFrame ( CDialog * dialogFather,
IComponentsGUI * frame,
IListenerChange ** listenerChange )

◆ operator=() [1/2]

AbstractView & AbstractView::operator= ( AbstractView && other)
delete

◆ operator=() [2/2]

AbstractView & AbstractView::operator= ( const AbstractView & other)
delete

◆ runClose()

void AbstractView::runClose ( )

◆ runIsAccept()

bool AbstractView::runIsAccept ( std::string * messageError)

◆ scheduleUpdate()

void AbstractView::scheduleUpdate ( bool schedule = true)

scheduleUpdate

Let the view know that when being drawn next time, it will have to update first.

Parameters
[in]scheduleflag indicating whether to set a schedule to update the view or not.

◆ unRefView()

AbstractComponentGUI * AbstractView::unRefView ( )

◆ update()

void AbstractView::update ( )

update

Updates view without destroying it, only if an update was needed.

◆ updateScheduled()

bool AbstractView::updateScheduled ( ) const
nodiscard

updateScheduled

Returns
true if the an update is scheduled for this view; false otherwise.

Member Data Documentation

◆ m_componentView

AbstractComponentGUI* AbstractView::m_componentView
private

◆ m_panelEditor

AbstractViewPanelEditor* AbstractView::m_panelEditor
private

◆ m_title

std::string AbstractView::m_title
private

◆ m_updateScheduled

bool AbstractView::m_updateScheduled
private

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