Signals | Public Member Functions | Protected Member Functions | Properties

QCheckBox Class Reference

Search for all occurrences

Detailed Description

Definition at line 56 of file qcheckbox.h.

#include <qcheckbox.h>

Inheritance diagram for QCheckBox:
Inheritance graph
[legend]

List of all members.

Signals

void  stateChanged (int)

Public Member Functions

  QCheckBox (QWidget *parent=0)
  QCheckBox (const QString &text, QWidget *parent=0)
QSize  sizeHint () const
void  setTristate (bool y=true)
bool  isTristate () const
Qt::CheckState  checkState () const
void  setCheckState (Qt::CheckState state)

Protected Member Functions

bool  event (QEvent *e)
bool  hitButton (const QPoint &pos) const
void  checkStateSet ()
void  nextCheckState ()
void  paintEvent (QPaintEvent *)
void  mouseMoveEvent (QMouseEvent *)
void  initStyleOption (QStyleOptionButton *option) const

Properties

bool  tristate

Constructor & Destructor Documentation

QCheckBox ( QWidget parent = 0 ) [explicit]
QCheckBox ( const QString text,
QWidget parent = 0 
) [explicit]

Member Function Documentation

QSize sizeHint ( ) const [virtual]

Reimplemented from QWidget.

void setTristate ( bool  y = true )
bool isTristate ( ) const
Qt::CheckState checkState ( ) const
void setCheckState ( Qt::CheckState  state )
void stateChanged ( int  ) [signal]
bool event ( QEvent e ) [protected, virtual]
bool hitButton ( const QPoint pos ) const [protected, virtual]
void checkStateSet ( ) [protected, virtual]
void nextCheckState ( ) [protected, virtual]
void paintEvent ( QPaintEvent ) [protected, virtual]
void mouseMoveEvent ( QMouseEvent ) [protected, virtual]
void initStyleOption ( QStyleOptionButton option ) const [protected]

Property Documentation

bool tristate [read, write]

Definition at line 60 of file qcheckbox.h.


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

QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox
QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox QCheckBox