kexi

KexiComboBoxDropDownButton Class Reference

#include <kexicomboboxdropdownbutton.h>

Inherits 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)

Protected Member Functions

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

Protected Attributes

int m_fixForHeight
bool m_drawComplexControl: 1
KComboBox * m_paintedCombo

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.

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

Reimplemented after KPushButton to adapt size to style changes.

Definition at line 71 of file kexicomboboxdropdownbutton.cpp.


Member Data Documentation

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

Definition at line 45 of file kexicomboboxdropdownbutton.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys