WSF
wizard::EditorDock Class Reference

A wkf::DockWidget containing a wizard::Editor. More...

#include <EditorDock.hpp>

Inherits wkf::DockWidget.

Public Member Functions

 EditorDock (QMainWindow *aMainWindow, Editor *aEditor)
 ~EditorDock () override
void OverrideTitleBar (QWidget *aWidget) override
void VisibilityChanged (bool aVisible)
void ModificationChanged (wizard::TextSource *aSourcePtr)
void contextMenuEvent (QContextMenuEvent *aEvent) override
void closeEvent (QCloseEvent *event) override
void TabCloseRequested (int aTabIndex)
void CursorPositionChanged ()
EditorGetEditor ()
const QMainWindow * GetMainWindow () const noexcept
QMainWindow * GetMainWindow () noexcept
void OnChangeDebug (bool aIsActive)
void DisableFullscreen ()
void EnableFullscreen ()

Protected Member Functions

void paintEvent (QPaintEvent *aEventPtr) override

Protected Attributes

UtCallbackHolder mCallbackHolder

Detailed Description

A wkf::DockWidget containing a wizard::Editor.

Constructor & Destructor Documentation

◆ EditorDock()

◆ ~EditorDock()

wizard::EditorDock::~EditorDock ( )
override

Member Function Documentation

◆ closeEvent()

void wizard::EditorDock::closeEvent ( QCloseEvent * event)
override

◆ contextMenuEvent()

void wizard::EditorDock::contextMenuEvent ( QContextMenuEvent * aEvent)
override

◆ CursorPositionChanged()

void wizard::EditorDock::CursorPositionChanged ( )

Referenced by EditorDock().

◆ DisableFullscreen()

void wizard::EditorDock::DisableFullscreen ( )

◆ EnableFullscreen()

void wizard::EditorDock::EnableFullscreen ( )

◆ GetEditor()

Editor * wizard::EditorDock::GetEditor ( )
inline

Get the wizard::Editor contained within this EditorDock

Returns
the contained wizard::Editor

◆ GetMainWindow() [1/2]

const QMainWindow * wizard::EditorDock::GetMainWindow ( ) const
noexcept

Get the QMainWindow widget associated with this EditorDock

Returns
the QMainWindow widget associated with this EditorDock

◆ GetMainWindow() [2/2]

QMainWindow * wizard::EditorDock::GetMainWindow ( )
noexcept

Get the QMainWindow widget associated with this EditorDock

Returns
the QMainWindow widget associated with this EditorDock

◆ ModificationChanged()

void wizard::EditorDock::ModificationChanged ( wizard::TextSource * aSourcePtr)

◆ OnChangeDebug()

void wizard::EditorDock::OnChangeDebug ( bool aIsActive)

References DisableFullscreen(), and EnableFullscreen().

Referenced by EditorDock().

◆ OverrideTitleBar()

void wizard::EditorDock::OverrideTitleBar ( QWidget * aWidget)
override

◆ paintEvent()

void wizard::EditorDock::paintEvent ( QPaintEvent * aEventPtr)
overrideprotected

◆ TabCloseRequested()

void wizard::EditorDock::TabCloseRequested ( int aTabIndex)

◆ VisibilityChanged()

void wizard::EditorDock::VisibilityChanged ( bool aVisible)

Member Data Documentation

◆ mCallbackHolder

UtCallbackHolder wizard::EditorDock::mCallbackHolder
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved