Public Member Functions | Protected Member Functions | Protected Attributes | Properties

ctkTitleComboBox Class Reference

#include <Libs/Widgets/ctkTitleComboBox.h>

List of all members.

Public Member Functions

 ctkTitleComboBox (QWidget *parent=0)
QIcon icon () const
virtual QSize minimumSizeHint () const
void setIcon (const QIcon &)
void setTitle (const QString &)
virtual QSize sizeHint () const
QString title () const
virtual ~ctkTitleComboBox ()

Protected Member Functions

virtual void paintEvent (QPaintEvent *)
virtual QSize recomputeSizeHint (QSize &sh) const

Protected Attributes

QIcon Icon
QString Title


QIcon icon
QString title

Detailed Description

Definition at line 30 of file ctkTitleComboBox.h.

Constructor & Destructor Documentation

ctkTitleComboBox::ctkTitleComboBox ( QWidget *  parent = 0  )  [explicit]

Definition at line 30 of file ctkTitleComboBox.cpp.

ctkTitleComboBox::~ctkTitleComboBox (  )  [virtual]

Definition at line 37 of file ctkTitleComboBox.cpp.

Member Function Documentation

QIcon ctkTitleComboBox::icon (  )  const
QSize ctkTitleComboBox::minimumSizeHint (  )  const [virtual]

Definition at line 96 of file ctkTitleComboBox.cpp.

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

Definition at line 71 of file ctkTitleComboBox.cpp.

QSize ctkTitleComboBox::recomputeSizeHint ( QSize &  sh  )  const [protected, virtual]

Definition at line 115 of file ctkTitleComboBox.cpp.

void ctkTitleComboBox::setIcon ( const QIcon &  _icon  ) 

Definition at line 57 of file ctkTitleComboBox.cpp.

void ctkTitleComboBox::setTitle ( const QString &  _title  ) 

Definition at line 43 of file ctkTitleComboBox.cpp.

QSize ctkTitleComboBox::sizeHint (  )  const [virtual]

This implementation caches the size hint to avoid resizing when the contents change dynamically. To invalidate the cached value change the sizeAdjustPolicy.

Definition at line 109 of file ctkTitleComboBox.cpp.

QString ctkTitleComboBox::title (  )  const

Member Data Documentation

QIcon ctkTitleComboBox::Icon [protected]

Definition at line 54 of file ctkTitleComboBox.h.

QString ctkTitleComboBox::Title [protected]

Definition at line 53 of file ctkTitleComboBox.h.

Property Documentation

QIcon ctkTitleComboBox::icon [read, write]

Definition at line 34 of file ctkTitleComboBox.h.

QString ctkTitleComboBox::title [read, write]

Definition at line 33 of file ctkTitleComboBox.h.

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