Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef JOKER_H
- #define JOKER_H
- #include <QObject>
- #include <QString>
- #include <QLabel>
- #include <QTimer>
- #include <QApplication>
- #include <QDesktopWidget>
- #include <QGraphicsDropShadowEffect>
- #include <QQueue>
- #include "gui.h"
- class joker : public QObject
- {
- Q_OBJECT
- public:
- explicit joker(QObject *parent = 0);
- ~joker();
- void start();
- signals:
- public slots:
- void show_window();
- void hide_window();
- private:
- gui* window;
- QTimer* hide_timer;
- QQueue<QString>* msg_pull;
- bool is_msg_showing;
- void center_window();
- void show_msg(QString);
- void show_msg(QString, int);
- };
- #endif // JOKER_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement