Public Member Functions | List of all members
pqCheckBoxPixMaps Class Reference

pqCheckBoxPixMaps is a helper class that can used to create pixmaps for checkboxs in various states. More...

#include <pqCheckBoxPixMaps.h>

Inherits QObject.

Public Member Functions

 pqCheckBoxPixMaps (QWidget *parent)
 parent cannot be nullptr. More...
 
QPixmap getPixmap (Qt::CheckState state, bool active) const
 Returns a pixmap for the given state . More...
 
QPixmap getPixmap (int state, bool active) const
 

Detailed Description

pqCheckBoxPixMaps is a helper class that can used to create pixmaps for checkboxs in various states.

This is useful for showing checkboxes in qt-views.

Definition at line 17 of file pqCheckBoxPixMaps.h.

Constructor & Destructor Documentation

◆ pqCheckBoxPixMaps()

pqCheckBoxPixMaps::pqCheckBoxPixMaps ( QWidget *  parent)

parent cannot be nullptr.

Member Function Documentation

◆ getPixmap() [1/2]

QPixmap pqCheckBoxPixMaps::getPixmap ( Qt::CheckState  state,
bool  active 
) const

Returns a pixmap for the given state .

◆ getPixmap() [2/2]

QPixmap pqCheckBoxPixMaps::getPixmap ( int  state,
bool  active 
) const
inline

Definition at line 32 of file pqCheckBoxPixMaps.h.


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