kexi

#include <kexicomboboxdropdownbutton.h>

Inherits KPushButton.

Public Member Functions

 KexiComboBoxDropDownButton (TQWidget *parent)
 

Protected Member Functions

virtual void drawButton (TQPainter *p)
 
virtual void styleChange (TQStyle &oldStyle)
 

Protected Attributes

int m_fixForHeight
 
bool m_drawComplexControl: 1
 
KComboBox * m_paintedCombo
 

Detailed Description

A drop-down button for combo box widgets.

Used in KexiComboBoxTableEdit.

Definition at line 30 of file kexicomboboxdropdownbutton.h.

Constructor & Destructor Documentation

◆ KexiComboBoxDropDownButton()

KexiComboBoxDropDownButton::KexiComboBoxDropDownButton ( TQWidget *  parent)

Definition at line 29 of file kexicomboboxdropdownbutton.cpp.

◆ ~KexiComboBoxDropDownButton()

KexiComboBoxDropDownButton::~KexiComboBoxDropDownButton ( )
virtual

Definition at line 42 of file kexicomboboxdropdownbutton.cpp.

Member Function Documentation

◆ drawButton()

void KexiComboBoxDropDownButton::drawButton ( TQPainter *  p)
protectedvirtual

Reimplemented after KPushButton to draw drop-down arrow.

Definition at line 46 of file kexicomboboxdropdownbutton.cpp.

◆ styleChange()

void KexiComboBoxDropDownButton::styleChange ( TQStyle &  oldStyle)
protectedvirtual

Reimplemented after KPushButton to adapt size to style changes.

Definition at line 71 of file kexicomboboxdropdownbutton.cpp.

Member Data Documentation

◆ m_drawComplexControl

bool KexiComboBoxDropDownButton::m_drawComplexControl
protected

Definition at line 44 of file kexicomboboxdropdownbutton.h.

◆ m_fixForHeight

int KexiComboBoxDropDownButton::m_fixForHeight
protected

Definition at line 43 of file kexicomboboxdropdownbutton.h.

◆ m_paintedCombo

KComboBox* KexiComboBoxDropDownButton::m_paintedCombo
protected

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

Definition at line 45 of file kexicomboboxdropdownbutton.h.


The documentation for this class was generated from the following files: