xdg-desktop-portal-hyprland/hyprland-share-picker/mainpicker.h

29 lines
514 B
C
Raw Normal View History

2022-12-03 22:27:49 +01:00
#ifndef MAINPICKER_H
#define MAINPICKER_H
#include <QMainWindow>
#include <QObject>
#include <QEvent>
#include <unordered_map>
2022-12-03 22:27:49 +01:00
QT_BEGIN_NAMESPACE
namespace Ui { class MainPicker; }
QT_END_NAMESPACE
class MainPicker : public QMainWindow
{
Q_OBJECT
public:
MainPicker(QWidget *parent = nullptr);
~MainPicker();
void onMonitorButtonClicked(QObject* target, QEvent* event);
std::unordered_map<void*, int> windowIDs; // button -> id
2022-12-03 22:27:49 +01:00
private:
Ui::MainPicker *ui;
};
#endif // MAINPICKER_H