-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpandaqt5.h
47 lines (38 loc) · 1020 Bytes
/
pandaqt5.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef PANDAQT5_H
#define PANDAQT5_H
#include <QMainWindow>
#include <QSystemTrayIcon>
#include <QSystemTrayIcon>
#include <forms/FormSettings.h>
#include <forms/formgamecategories.h>
#include <forms/formbookmarks.h>
#include <forms/formchannels.h>
namespace Ui {
class Pandaqt5;
}
class Pandaqt5 : public QMainWindow
{
Q_OBJECT
public:
explicit Pandaqt5(QWidget *parent = 0);
~Pandaqt5();
private slots:
//sidebar buttons
void on_m_buttonBookmarks_clicked();
void on_m_buttonSettings_clicked();
void on_m_buttonChannels_clicked();
void on_m_buttonGameCategories_clicked();
void slot_categoryChanged(QString category);
void slot_handleActivateTray(QSystemTrayIcon::ActivationReason);
private:
Ui::Pandaqt5 *ui;
//forms
FormSettings* frm_settings;
FormGameCategories* frm_gameCategories;
FormBookmarks* frm_bookmarks;
FormChannels * frm_channels;
QSystemTrayIcon *m_trayIcon;
protected:
void changeEvent(QEvent *);
};
#endif // PANDAQT5_H