swaymux/mainwindow.h

33 lines
575 B
C
Raw Permalink Normal View History

2024-03-02 22:33:27 +01:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
2024-03-04 00:27:05 +01:00
#include "tree/SwayTreeModel.h"
#include "Keys/KeyHandler.h"
2024-03-02 22:33:27 +01:00
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow() override;
void updateModel() const;
2024-03-02 22:33:27 +01:00
2024-03-04 00:27:05 +01:00
SwayTreeModel* model;
Ui::MainWindow *ui;
2024-03-12 11:48:43 +01:00
public slots:
void selChanged() const;
private:
KeyHandler* swayTreeKeyHandler;
KeyHandler* closeHelpKeyHandler;
2024-03-02 22:33:27 +01:00
};
#endif // MAINWINDOW_H