Kexi API Documentation (2.0 alpha)

KexiArrowTip Class Reference

#include <kexiarrowtip.h>

Inheritance diagram for KexiArrowTip:

KexiToolTip QWidget List of all members.

Detailed Description

A tooltip-like widget with additional arrow.

The widget also suppors fade in and fade out effect, if the underlying display system supports this.

Definition at line 29 of file kexiarrowtip.h.

Public Slots

virtual void show ()
virtual void hide ()

Public Member Functions

 KexiArrowTip (const QString &text, QWidget *parent)
virtual ~KexiArrowTip ()
QString text () const
virtual bool close ()
virtual bool close (bool alsoDelete)

Protected Slots

void increaseOpacity ()
void decreaseOpacity ()

Protected Member Functions

virtual void drawFrame (QPainter &p)
virtual void drawContents (QPainter &p)

Protected Attributes

int m_arrowHeight
double m_opacity


Constructor & Destructor Documentation

KexiArrowTip::KexiArrowTip const QString text,
QWidget parent
 

Definition at line 33 of file kexiarrowtip.cpp.

References drawFrame(), m_arrowHeight, KexiToolTip::m_value, and size.

KexiArrowTip::~KexiArrowTip  )  [virtual]
 

Definition at line 63 of file kexiarrowtip.cpp.


Member Function Documentation

bool KexiArrowTip::close bool  alsoDelete  )  [virtual]
 

Definition at line 106 of file kexiarrowtip.cpp.

References decreaseOpacity(), and m_opacity.

virtual bool KexiArrowTip::close  )  [inline, virtual]
 

Definition at line 37 of file kexiarrowtip.h.

void KexiArrowTip::decreaseOpacity  )  [protected, slot]
 

Definition at line 94 of file kexiarrowtip.cpp.

References m_opacity.

Referenced by close(), and hide().

void KexiArrowTip::drawContents QPainter &  p  )  [protected, virtual]
 

Reimplemented from KexiToolTip.

Definition at line 118 of file kexiarrowtip.cpp.

References m_arrowHeight, and KexiToolTip::m_value.

void KexiArrowTip::drawFrame QPainter &  p  )  [protected, virtual]
 

Reimplemented from KexiToolTip.

Definition at line 125 of file kexiarrowtip.cpp.

References m_arrowHeight.

Referenced by KexiArrowTip().

void KexiArrowTip::hide  )  [virtual, slot]
 

Definition at line 78 of file kexiarrowtip.cpp.

References decreaseOpacity().

void KexiArrowTip::increaseOpacity  )  [protected, slot]
 

Definition at line 86 of file kexiarrowtip.cpp.

References m_opacity.

Referenced by show().

void KexiArrowTip::show  )  [virtual, slot]
 

Reimplemented from KexiToolTip.

Definition at line 67 of file kexiarrowtip.cpp.

References increaseOpacity(), m_opacity, and KexiToolTip::show().

QString KexiArrowTip::text  )  const [inline]
 

Definition at line 36 of file kexiarrowtip.h.


Member Data Documentation

int KexiArrowTip::m_arrowHeight [protected]
 

Definition at line 52 of file kexiarrowtip.h.

Referenced by drawContents(), drawFrame(), and KexiArrowTip().

double KexiArrowTip::m_opacity [protected]
 

Definition at line 53 of file kexiarrowtip.h.

Referenced by close(), decreaseOpacity(), increaseOpacity(), and show().


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