mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-17 20:04:22 -05:00
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
|