mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 00:44:27 -05:00
28 lines
471 B
C
28 lines
471 B
C
|
#ifndef HILFSZEIGER_H
|
||
|
#define HILFSZEIGER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QGraphicsItem>
|
||
|
|
||
|
class Basisstapel;
|
||
|
|
||
|
class Hilfszeiger : public QObject, public QGraphicsItem
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
Hilfszeiger(Basisstapel *parent);
|
||
|
virtual ~Hilfszeiger();
|
||
|
|
||
|
virtual QRectF boundingRect() const;
|
||
|
void passe_groesse_an(const QRectF&);
|
||
|
|
||
|
private:
|
||
|
Basisstapel *meinstapel;
|
||
|
double breite, hoehe, dicke;
|
||
|
|
||
|
virtual void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*);
|
||
|
};
|
||
|
|
||
|
#endif
|