mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
0b78ed6ff8
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2245 b45a01b8-16f6-495d-af2f-9b41ad6348cc
39 lines
589 B
C++
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
|