style: format
This commit is contained in:
+24
-23
@@ -5,10 +5,10 @@
|
|||||||
#ifndef LLINK_MAINWINDOW_H
|
#ifndef LLINK_MAINWINDOW_H
|
||||||
#define LLINK_MAINWINDOW_H
|
#define LLINK_MAINWINDOW_H
|
||||||
|
|
||||||
#include <QMainWindow>
|
|
||||||
#include "data.h"
|
#include "data.h"
|
||||||
#include "networkstreammodel.h"
|
#include "networkstreammodel.h"
|
||||||
#include "particlelistmodel.h"
|
#include "particlelistmodel.h"
|
||||||
|
#include <QMainWindow>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QSystemTrayIcon;
|
class QSystemTrayIcon;
|
||||||
@@ -19,43 +19,44 @@ QT_END_NAMESPACE
|
|||||||
class AuthDialog;
|
class AuthDialog;
|
||||||
class SettingsDialog;
|
class SettingsDialog;
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui
|
||||||
|
{
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
}
|
}
|
||||||
|
|
||||||
class MainWindow : public QMainWindow
|
class MainWindow : public QMainWindow
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit MainWindow(QWidget *parent = nullptr);
|
explicit MainWindow(QWidget *parent = nullptr);
|
||||||
|
|
||||||
~MainWindow();
|
~MainWindow();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_exitButton_clicked();
|
void on_exitButton_clicked();
|
||||||
|
|
||||||
void on_settingsButton_clicked();
|
void on_settingsButton_clicked();
|
||||||
|
|
||||||
void onTreeSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
void onTreeSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
||||||
void onParticleSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
void onParticleSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void setupTrayIcon();
|
void setupTrayIcon();
|
||||||
void setupModels();
|
void setupModels();
|
||||||
|
|
||||||
QSystemTrayIcon *m_trayIcon;
|
QSystemTrayIcon *m_trayIcon;
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
|
|
||||||
AuthManager *m_authManager;
|
AuthManager *m_authManager;
|
||||||
AuthDialog *m_authDialog;
|
AuthDialog *m_authDialog;
|
||||||
|
|
||||||
SettingsDialog *m_settingsDialog;
|
SettingsDialog *m_settingsDialog;
|
||||||
|
|
||||||
// Data and models
|
// Data and models
|
||||||
Data *m_data;
|
Data *m_data;
|
||||||
NetworkStreamModel *m_networkStreamModel;
|
NetworkStreamModel *m_networkStreamModel;
|
||||||
ParticleListModel *m_particleListModel;
|
ParticleListModel *m_particleListModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //LLINK_MAINWINDOW_H
|
#endif // LLINK_MAINWINDOW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user