You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
708 B
35 lines
708 B
// 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;
|
|
bool m_backing_store;
|
|
};
|
|
}
|
|
|
|
#endif
|