WSF
wizard::EditModeBanner Class Reference

#include <EditModeBanner.hpp>

Inherits QWidget.

Public Member Functions

 EditModeBanner (bool aBannerIsForTextEditor, Undo *aUndoPtr)
 ~EditModeBanner () override=default
void ShowVisualMode ()
void ShowApplying ()

Public Attributes

Ui::EditModeBanner mUi

Protected Slots

void ApplyClick ()
void RevertClick ()
void EditModeSwitch (Vi::EditMode aEditMode)
void UndoIndexChanged (int aIndex)

Protected Attributes

bool mBannerIsForTextEditor
QUndoStack * mUndoStackPtr

Constructor & Destructor Documentation

◆ EditModeBanner()

wizard::EditModeBanner::EditModeBanner ( bool aBannerIsForTextEditor,
Undo * aUndoPtr )

◆ ~EditModeBanner()

wizard::EditModeBanner::~EditModeBanner ( )
overridedefault

Member Function Documentation

◆ ApplyClick

void wizard::EditModeBanner::ApplyClick ( )
protectedslot

References wizSignals.

Referenced by EditModeBanner().

◆ EditModeSwitch

void wizard::EditModeBanner::EditModeSwitch ( Vi::EditMode aEditMode)
protectedslot

◆ RevertClick

void wizard::EditModeBanner::RevertClick ( )
protectedslot

References wizSignals.

Referenced by EditModeBanner().

◆ ShowApplying()

void wizard::EditModeBanner::ShowApplying ( )

References mUi.

Referenced by EditModeSwitch().

◆ ShowVisualMode()

void wizard::EditModeBanner::ShowVisualMode ( )

References mUi.

Referenced by EditModeSwitch().

◆ UndoIndexChanged

void wizard::EditModeBanner::UndoIndexChanged ( int aIndex)
protectedslot

References mUi, mUndoStackPtr, and wizSignals.

Referenced by EditModeBanner().

Member Data Documentation

◆ mBannerIsForTextEditor

bool wizard::EditModeBanner::mBannerIsForTextEditor
protected

Referenced by EditModeBanner(), and EditModeSwitch().

◆ mUi

Ui::EditModeBanner wizard::EditModeBanner::mUi

◆ mUndoStackPtr

QUndoStack* wizard::EditModeBanner::mUndoStackPtr
protected

Referenced by EditModeBanner(), and UndoIndexChanged().


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