summaryrefslogtreecommitdiffstats
path: root/src/app/DiskUsage/radialMap/segmentTip.h
blob: 7f279cb64b3102602fe420b82cb021b2f446938e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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