12345678910111213141516171819202122232425262728 |
- #ifndef TRAY_H
- #define TRAY_H
- #include <QDialog>
- #include <QSystemTrayIcon>
- #include <QMenu>
- 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
|