KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
KDDockWidgets::Core::Action Class Referenceabstract

#include <Action.h>

Inheritance diagram for KDDockWidgets::Core::Action:
Inheritance graph
[legend]

Public Member Functions

 Action (const Action &)=delete
 
 Action (Core::DockWidget *, const char *debugName="")
 
virtual ~Action ()
 
virtual bool blockSignals (bool)=0
 
bool enabled () const
 
virtual KDDockWidgets::Icon icon () const =0
 
virtual bool isChecked () const =0
 
virtual bool isEnabled () const =0
 
Actionoperator= (const Action &)=delete
 
virtual void setChecked (bool checked)=0
 
virtual void setEnabled (bool enabled)=0
 
virtual void setIcon (const KDDockWidgets::Icon &)=0
 
virtual void setText (const QString &text)=0
 
virtual void setToolTip (const QString &text)=0
 
void toggle ()
 
virtual QString toolTip () const =0
 

Public Attributes

Private *const d
 

Detailed Description

Definition at line 24 of file core/Action.h.

Constructor & Destructor Documentation

◆ Action() [1/2]

Action::Action ( Core::DockWidget dw,
const char *  debugName = "" 
)
explicit

Definition at line 18 of file core/Action.cpp.

◆ ~Action()

Action::~Action ( )
virtual

Reimplemented in KDDockWidgets::Flutter::Action, and KDDockWidgets::QtQuick::Action.

Definition at line 23 of file core/Action.cpp.

References d.

◆ Action() [2/2]

KDDockWidgets::Core::Action::Action ( const Action )
delete

Member Function Documentation

◆ blockSignals()

virtual bool KDDockWidgets::Core::Action::blockSignals ( bool  )
pure virtual

◆ enabled()

bool Action::enabled ( ) const

Definition at line 28 of file core/Action.cpp.

References isEnabled().

◆ icon()

virtual KDDockWidgets::Icon KDDockWidgets::Core::Action::icon ( ) const
pure virtual

◆ isChecked()

virtual bool KDDockWidgets::Core::Action::isChecked ( ) const
pure virtual

◆ isEnabled()

virtual bool KDDockWidgets::Core::Action::isEnabled ( ) const
pure virtual

◆ operator=()

Action & KDDockWidgets::Core::Action::operator= ( const Action )
delete

◆ setChecked()

virtual void KDDockWidgets::Core::Action::setChecked ( bool  checked)
pure virtual

◆ setEnabled()

virtual void KDDockWidgets::Core::Action::setEnabled ( bool  enabled)
pure virtual

◆ setIcon()

virtual void KDDockWidgets::Core::Action::setIcon ( const KDDockWidgets::Icon &  )
pure virtual

◆ setText()

virtual void KDDockWidgets::Core::Action::setText ( const QString text)
pure virtual

◆ setToolTip()

virtual void KDDockWidgets::Core::Action::setToolTip ( const QString text)
pure virtual

◆ toggle()

void Action::toggle ( )

Definition at line 33 of file core/Action.cpp.

References isChecked(), and setChecked().

◆ toolTip()

virtual QString KDDockWidgets::Core::Action::toolTip ( ) const
pure virtual

Member Data Documentation

◆ d

Private* const KDDockWidgets::Core::Action::d

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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8