1 /****************************************************************************
5 Copyright (C) 2003 Mike Pilone <mpilone@slac.com>
6 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
8 Distributed under the terms of the GNU General Public License version 2.
10 ****************************************************************************/
12 #ifndef GESTURE_DRAWER_H
13 #define GESTURE_DRAWER_H
15 #include <QtGui/QFrame>
25 class GestureDrawer
: public QFrame
29 GestureDrawer(QWidget
*parent
, const char *name
= 0);
32 void setData(const QString
&data
);
34 virtual QSize
sizeHint() const { return QSize(30, 30); }
37 void paintEvent(QPaintEvent
*ev
);
40 QPoint
lookupCellCoords(quint32 cell
);
41 void drawArrowHead(QPoint
&start
, QPoint
&end
,
48 } // namespace KHotKeys