Public Slots | Public Member Functions | List of all members
pqHighlightablePushButton Class Reference

pqHighlightablePushButton extents QPushButton to add support for highlighting the button. More...

#include <pqHighlightablePushButton.h>

Inherits QPushButton.

Public Slots

void highlight (bool clear=false)
 Slots to highlight (or clear the highlight). More...
 
void clear ()
 

Public Member Functions

 pqHighlightablePushButton (QWidget *parent=nullptr)
 
 pqHighlightablePushButton (const QString &text, QWidget *parent=nullptr)
 
 pqHighlightablePushButton (const QIcon &icon, const QString &text, QWidget *parent=nullptr)
 
 ~pqHighlightablePushButton () override
 

Detailed Description

pqHighlightablePushButton extents QPushButton to add support for highlighting the button.

Definition at line 43 of file pqHighlightablePushButton.h.

Constructor & Destructor Documentation

◆ pqHighlightablePushButton() [1/3]

pqHighlightablePushButton::pqHighlightablePushButton ( QWidget *  parent = nullptr)

◆ pqHighlightablePushButton() [2/3]

pqHighlightablePushButton::pqHighlightablePushButton ( const QString &  text,
QWidget *  parent = nullptr 
)

◆ pqHighlightablePushButton() [3/3]

pqHighlightablePushButton::pqHighlightablePushButton ( const QIcon &  icon,
const QString &  text,
QWidget *  parent = nullptr 
)

◆ ~pqHighlightablePushButton()

pqHighlightablePushButton::~pqHighlightablePushButton ( )
override

Member Function Documentation

◆ highlight

void pqHighlightablePushButton::highlight ( bool  clear = false)
slot

Slots to highlight (or clear the highlight).

◆ clear

void pqHighlightablePushButton::clear ( )
inlineslot

Definition at line 59 of file pqHighlightablePushButton.h.


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