#ifndef TRAY_H #define TRAY_H #include #include #include namespace Ui { class Tray; } class Tray : public QDialog { Q_OBJECT public: explicit Tray(QWidget *parent = 0); ~Tray(); private: Ui::Tray *ui; QSystemTrayIcon *trayIcon; QMenu *menu; void setupUi(); }; #endif // TRAY_H