diff options
Diffstat (limited to 'src/part/radialMap/segmentTip.h')
-rw-r--r-- | src/part/radialMap/segmentTip.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/part/radialMap/segmentTip.h b/src/part/radialMap/segmentTip.h new file mode 100644 index 0000000..8bc479e --- /dev/null +++ b/src/part/radialMap/segmentTip.h @@ -0,0 +1,34 @@ +// Author: Max Howell <[email protected]>, (C) 2004 +// Copyright: See COPYING file that comes with this distribution + +#ifndef SEGMENTTIP_H +#define SEGMENTTIP_H + +#include <kpixmap.h> +#include <qwidget.h> + +class File; +class Directory; + +namespace RadialMap +{ + class SegmentTip : public QWidget + { + public: + SegmentTip( uint ); + + void updateTip( const File*, const Directory* ); + void moveTo( QPoint, const QWidget&, bool ); + + private: + virtual bool eventFilter( QObject*, QEvent* ); + virtual bool event( QEvent* ); + + uint m_cursorHeight; + KPixmap m_pixmap; + QString m_text; + bool m_backing_store; + }; +} + +#endif |