Public Member Functions | Protected Member Functions

ctkMenuButton Class Reference

#include <Libs/Widgets/ctkMenuButton.h>

List of all members.

Public Member Functions

 ctkMenuButton (QWidget *parent=0)
 ctkMenuButton (const QString &text, 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 *)

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

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 Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines