Kexi API Documentation (2.0 alpha)

KexiComboBoxDropDownButton Class Reference

#include <kexicomboboxdropdownbutton.h>

Inheritance diagram for KexiComboBoxDropDownButton:

KPushButton List of all members.

Detailed Description

A drop-down button for combo box widgets.

Used in KexiComboBoxTableEdit.

Definition at line 30 of file kexicomboboxdropdownbutton.h.

Public Member Functions

 KexiComboBoxDropDownButton (QWidget *parent)
virtual ~KexiComboBoxDropDownButton ()

Protected Member Functions

virtual void drawButton (QPainter *p)
virtual void styleChange (QStyle &oldStyle)

Protected Attributes

int m_fixForHeight
bool m_drawComplexControl: 1
KComboBoxm_paintedCombo
 fake combo used only to pass it as 'this' for QStyle (because styles use <static_cast>)


Constructor & Destructor Documentation

KexiComboBoxDropDownButton::KexiComboBoxDropDownButton QWidget parent  ) 
 

Definition at line 29 of file kexicomboboxdropdownbutton.cpp.

References m_paintedCombo, size, and styleChange().

KexiComboBoxDropDownButton::~KexiComboBoxDropDownButton  )  [virtual]
 

Definition at line 42 of file kexicomboboxdropdownbutton.cpp.


Member Function Documentation

void KexiComboBoxDropDownButton::drawButton QPainter *  p  )  [protected, virtual]
 

Reimplemented after KPushButton to draw drop-down arrow.

Definition at line 46 of file kexicomboboxdropdownbutton.cpp.

References m_drawComplexControl, m_fixForHeight, m_paintedCombo, and size.

void KexiComboBoxDropDownButton::styleChange QStyle oldStyle  )  [protected, virtual]
 

Reimplemented after KPushButton to adapt size to style changes.

Definition at line 71 of file kexicomboboxdropdownbutton.cpp.

References m_drawComplexControl, m_fixForHeight, and m_paintedCombo.

Referenced by KexiComboBoxDropDownButton().


Member Data Documentation

bool KexiComboBoxDropDownButton::m_drawComplexControl [protected]
 

Definition at line 44 of file kexicomboboxdropdownbutton.h.

Referenced by drawButton(), and styleChange().

int KexiComboBoxDropDownButton::m_fixForHeight [protected]
 

Definition at line 43 of file kexicomboboxdropdownbutton.h.

Referenced by drawButton(), and styleChange().

KComboBox* KexiComboBoxDropDownButton::m_paintedCombo [protected]
 

fake combo used only to pass it as 'this' for QStyle (because styles use <static_cast>)

Definition at line 45 of file kexicomboboxdropdownbutton.h.

Referenced by drawButton(), KexiComboBoxDropDownButton(), and styleChange().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:50 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003