digiKam
Digikam::DMultiTabBarButton Class Reference
+ Inheritance diagram for Digikam::DMultiTabBarButton:

Public Slots

void setText (const QString &text)
 

Signals

void signalClicked (int id)
 

Public Member Functions

int id () const
 
 ~DMultiTabBarButton () override
 

Protected Slots

virtual void slotClicked ()
 

Protected Member Functions

 DMultiTabBarButton (const QPixmap &pic, const QString &, int id, QWidget *const parent)
 
void hideEvent (QHideEvent *) override
 
void paintEvent (QPaintEvent *) override
 
void showEvent (QShowEvent *) override
 

Friends

class DMultiTabBar
 

Constructor & Destructor Documentation

◆ ~DMultiTabBarButton()

Digikam::DMultiTabBarButton::~DMultiTabBarButton ( )
override

◆ DMultiTabBarButton()

Digikam::DMultiTabBarButton::DMultiTabBarButton ( const QPixmap &  pic,
const QString &  text,
int  id,
QWidget *const  parent 
)
protected

References slotClicked().

Member Function Documentation

◆ hideEvent()

void Digikam::DMultiTabBarButton::hideEvent ( QHideEvent *  e)
overrideprotected

◆ id()

int Digikam::DMultiTabBarButton::id ( ) const

◆ paintEvent()

void Digikam::DMultiTabBarButton::paintEvent ( QPaintEvent *  )
overrideprotected

◆ setText

void Digikam::DMultiTabBarButton::setText ( const QString &  text)
slot

◆ showEvent()

void Digikam::DMultiTabBarButton::showEvent ( QShowEvent *  e)
overrideprotected

◆ signalClicked

void Digikam::DMultiTabBarButton::signalClicked ( int  id)
signal

this is emitted if the button is clicked

Parameters
idthe ID identifying the button

Referenced by slotClicked().

◆ slotClicked

void Digikam::DMultiTabBarButton::slotClicked ( )
protectedvirtualslot

References signalClicked().

Referenced by DMultiTabBarButton().

Friends And Related Function Documentation

◆ DMultiTabBar

friend class DMultiTabBar
friend

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