RetroShare/plugins/patience_plugin/Patience/Rahmen.h
defnax 0b78ed6ff8 added patience plugin
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-08 22:33:14 +00:00

39 lines
589 B
C++

#ifndef RAHMEN_H
#define RAHMEN_H
#include <QObject>
#include <QGraphicsItem>
class Basisstapel;
class Rahmen : public QObject, public QGraphicsItem
{
Q_OBJECT
public:
Rahmen(Basisstapel* parent);
virtual ~Rahmen();
void zeige(Basisstapel*, const QPointF&);
Basisstapel *aktueller_stapel() const;
void passe_groesse_an(const QRectF&);
public slots:
void verstecke();
signals:
private slots:
private:
QSizeF Groesse;
Basisstapel* meinstapel;
double dicke;
double eckradius;
void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*);
QRectF boundingRect() const;
};
#endif