Kexi API Documentation (2.0 alpha)

KexiDropDownButton Class Reference

#include <kexidropdownbutton.h>

Inheritance diagram for KexiDropDownButton:

QToolButton List of all members.

Detailed Description

A button for drop-down "Image" menu.

Used in KexiDBImageBox and KexiBlobTableEdit. Additionally, the button reacts on pressing space, return, enter, F2, F4 and alt+down buttons.

Definition at line 30 of file kexidropdownbutton.h.

Public Member Functions

 KexiDropDownButton (QWidget *parent)
virtual ~KexiDropDownButton ()
virtual void drawButton (QPainter *p)
virtual QSize sizeHint () const
virtual void keyPressEvent (QKeyEvent *e)


Constructor & Destructor Documentation

KexiDropDownButton::KexiDropDownButton QWidget parent  ) 
 

Todo:
get this from a KStyle

Definition at line 28 of file kexidropdownbutton.cpp.

KexiDropDownButton::~KexiDropDownButton  )  [virtual]
 

Definition at line 45 of file kexidropdownbutton.cpp.


Member Function Documentation

void KexiDropDownButton::drawButton QPainter *  p  )  [virtual]
 

Definition at line 49 of file kexidropdownbutton.cpp.

void KexiDropDownButton::keyPressEvent QKeyEvent *  e  )  [virtual]
 

Definition at line 67 of file kexidropdownbutton.cpp.

QSize KexiDropDownButton::sizeHint  )  const [virtual]
 

Definition at line 62 of file kexidropdownbutton.cpp.

Referenced by KexiDBImageBox::resizeEvent().


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:58 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003