ctkMenuButton Class Reference

#include <Libs/Widgets/ctkMenuButton.h>

List of all members.

Public Member Functions

 ctkMenuButton (const QString &text, QWidget *parent=0)
 ctkMenuButton (QWidget *parent=0)
virtual QSize minimumSizeHint () const
virtual QSize sizeHint () const
virtual ~ctkMenuButton ()

Protected Member Functions

virtual bool hitButton (const QPoint &pos) const
virtual void initStyleOption (QStyleOptionButton *option) const
virtual void mousePressEvent (QMouseEvent *event)
virtual void paintEvent (QPaintEvent *)

Private Member Functions

 CTK_DECLARE_PRIVATE (ctkMenuButton)

Detailed Description

Description A Menu widget that show/hide its children depending on its checked/collapsed properties

Definition at line 36 of file ctkMenuButton.h.


Constructor & Destructor Documentation

ctkMenuButton::ctkMenuButton ( QWidget *  parent = 0  ) 

Definition at line 73 of file ctkMenuButton.cpp.

ctkMenuButton::ctkMenuButton ( const QString &  text,
QWidget *  parent = 0 
)

Definition at line 80 of file ctkMenuButton.cpp.

ctkMenuButton::~ctkMenuButton (  )  [virtual]

Definition at line 87 of file ctkMenuButton.cpp.


Member Function Documentation

ctkMenuButton::CTK_DECLARE_PRIVATE ( ctkMenuButton   )  [private]
bool ctkMenuButton::hitButton ( const QPoint &  pos  )  const [protected, virtual]

Definition at line 170 of file ctkMenuButton.cpp.

void ctkMenuButton::initStyleOption ( QStyleOptionButton *  option  )  const [protected, virtual]

Definition at line 178 of file ctkMenuButton.cpp.

QSize ctkMenuButton::minimumSizeHint (  )  const [virtual]

Definition at line 92 of file ctkMenuButton.cpp.

void ctkMenuButton::mousePressEvent ( QMouseEvent *  event  )  [protected, virtual]

Definition at line 184 of file ctkMenuButton.cpp.

void ctkMenuButton::paintEvent ( QPaintEvent *  _event  )  [protected, virtual]

Definition at line 106 of file ctkMenuButton.cpp.

QSize ctkMenuButton::sizeHint (  )  const [virtual]

Definition at line 99 of file ctkMenuButton.cpp.


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