Public Member Functions

ctkCheckBoxPixmaps Class Reference

#include <Libs/Widgets/ctkCheckBoxPixmaps.h>

List of all members.

Public Member Functions

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

Detailed Description

ctkCheckBoxPixmaps 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 65 of file ctkCheckBoxPixmaps.h.


Constructor & Destructor Documentation

ctkCheckBoxPixmaps::ctkCheckBoxPixmaps ( QWidget *  parent  ) 

parent cannot be NULL.

Definition at line 63 of file ctkCheckBoxPixmaps.cpp.


Member Function Documentation

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

Returns a pixmap for the given state .

Definition at line 96 of file ctkCheckBoxPixmaps.cpp.

QPixmap ctkCheckBoxPixmaps::getPixmap ( int  state,
bool  active 
) const [inline]

Definition at line 76 of file ctkCheckBoxPixmaps.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines