summaryrefslogtreecommitdiffstats
path: root/src/part/radialMap/segmentTip.h
blob: b082b62fed1c6eee347e97f9d9b1449800063a31 (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
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 <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;
        bool    m_backing_store;
    };
}

#endif