34 lines
581 B
C
34 lines
581 B
C
|
|
#ifndef BCDELIGHTPMWIDGET_H
|
||
|
|
#define BCDELIGHTPMWIDGET_H
|
||
|
|
|
||
|
|
#include <QObject>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief The BCDelightPMWidget class : Graphische Effekte für unseren Produktmanager Simon.
|
||
|
|
*/
|
||
|
|
|
||
|
|
class BCDelightPMWidget : public QObject
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
|
||
|
|
BCDelightPMWidget( QWidget* parent );
|
||
|
|
|
||
|
|
public slots:
|
||
|
|
|
||
|
|
void onStartChaos();
|
||
|
|
|
||
|
|
protected:
|
||
|
|
|
||
|
|
void loadWidgetsFromResources();
|
||
|
|
void createFlyingWidget(const QString& iconPath, const QString &color);
|
||
|
|
|
||
|
|
QWidget *_playGround{};
|
||
|
|
|
||
|
|
// Liste der Widgets, die wir bewegen
|
||
|
|
QList<QWidget*> _flyingWidgets;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // BCDELIGHTPMWIDGET_H
|