ctkCheckBoxPixmaps Class Reference

#include <Libs/Widgets/ctkCheckBoxPixmaps.h>

List of all members.

Public Member Functions

 ctkCheckBoxPixmaps (QWidget *parent)
 parent cannot be NULL.
QPixmap pixmap (int state, bool active) const
QPixmap pixmap (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 66 of file ctkCheckBoxPixmaps.h.

Member Typedef Documentation

typedef QObject ctkCheckBoxPixmaps::Superclass [private]

Definition at line 69 of file ctkCheckBoxPixmaps.h.

Member Enumeration Documentation


Definition at line 86 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::pixmap ( int  state,
bool  active 
) const [inline]

Definition at line 77 of file ctkCheckBoxPixmaps.h.

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

Returns a pixmap for the given state .

Definition at line 96 of file ctkCheckBoxPixmaps.cpp.

Member Data Documentation

QPixmap ctkCheckBoxPixmaps::Pixmaps[6] [private]

Definition at line 99 of file ctkCheckBoxPixmaps.h.

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

Generated on 21 May 2010 for CTK by  doxygen 1.6.1