kexitooltip.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KEXITOOLTIP_H
00021 #define KEXITOOLTIP_H
00022
00023 #include <qwidget.h>
00024 #include <qvariant.h>
00025
00027 class KEXIGUIUTILS_EXPORT KexiToolTip : public QWidget
00028 {
00029 Q_OBJECT
00030 public:
00031 KexiToolTip(const QVariant& value, QWidget* parent);
00032 virtual ~KexiToolTip();
00033
00034 virtual QSize sizeHint() const;
00035
00036 public slots:
00037 virtual void show();
00038
00039 protected:
00040 virtual void paintEvent( QPaintEvent *pev );
00041 virtual void drawFrame(QPainter& p);
00042 virtual void drawContents(QPainter& p);
00043
00044 QVariant m_value;
00045 };
00046
00047 #endif
This file is part of the documentation for Kexi 2.0 alpha.