diff options
Diffstat (limited to 'src/app/DiskUsage/radialMap/segmentTip.h')
-rw-r--r-- | src/app/DiskUsage/radialMap/segmentTip.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/app/DiskUsage/radialMap/segmentTip.h b/src/app/DiskUsage/radialMap/segmentTip.h new file mode 100644 index 0000000..7f279cb --- /dev/null +++ b/src/app/DiskUsage/radialMap/segmentTip.h @@ -0,0 +1,33 @@ +// Author: Max Howell <max.howell@methylblue.com>, (C) 2004 +// Copyright: See COPYING file that comes with this distribution + +#ifndef SEGMENTTIP_H +#define SEGMENTTIP_H + +#include <kpixmap.h> +#include <tqwidget.h> + +class File; +class Directory; + +namespace RadialMap +{ + class SegmentTip : public TQWidget + { + public: + SegmentTip( uint ); + + void updateTip( const File*, const Directory* ); + void moveto( TQPoint, const TQWidget&, bool ); + + private: + virtual bool eventFilter( TQObject*, TQEvent* ); + virtual bool event( TQEvent* ); + + uint m_cursorHeight; + KPixmap m_pixmap; + TQString m_text; + }; +} + +#endif |