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