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 |
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.
pqCheckBoxPixMaps::pqCheckBoxPixMaps | ( | QWidget * | parent | ) |
parent cannot be nullptr.
QPixmap pqCheckBoxPixMaps::getPixmap | ( | Qt::CheckState | state, |
bool | active | ||
) | const |
Returns a pixmap for the given state .
|
inline |
Definition at line 32 of file pqCheckBoxPixMaps.h.