swaymux/mainwindow.h
LordGrimmauld f3b60a4a2a Add new functions
- move to scratch
- restore (move selected to new workspace)
- close
2024-03-11 13:33:26 +01:00

34 lines
598 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "tree/PsTreeModel.h"
#include "tree/SwayTreeModel.h"
#include "Keys/KeyHandler.h"
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;
SwayTreeModel* model;
Ui::MainWindow *ui;
private:
// QTimer* modelUpdateTimer{};
KeyHandler* swayTreeKeyHandler;
KeyHandler* closeHelpKeyHandler;
};
#endif // MAINWINDOW_H