Public Member Functions | Private Types | Private Attributes

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 .

Private Types

enum  PixmapStateIndex {
  Checked = 0, PartiallyChecked = 1, UnChecked = 2, Checked_Active = 3,
  PartiallyChecked_Active = 4, UnChecked_Active = 5, PixmapCount = 6
typedef QObject Superclass

Private Attributes

QPixmap Pixmaps [6]

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.

Member Typedef Documentation

typedef QObject ctkCheckBoxPixmaps::Superclass [private]

Definition at line 68 of file ctkCheckBoxPixmaps.h.

Member Enumeration Documentation


Definition at line 85 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.

Member Data Documentation

QPixmap ctkCheckBoxPixmaps::Pixmaps[6] [private]

Definition at line 98 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