#ifndef ROOMPRESETSWINDOW_H
#define ROOMPRESETSWINDOW_H

#include "window/window.h"

class RoomPresetsWindow : public Window {
    Q_OBJECT

    QObject* roomPresetModel;

signals:
    void setRoomPreset(QString id, QString areaCode);

public:
    RoomPresetsWindow(QQmlEngine* engine);

private slots:
    void onWindowOpenChanged();
    void onDrag(int dx, int dy);
    void onApplyPresetButtonClicked(const QString& areaCode);
    void resetIndex();
};

#endif // ROOMPRESETSWINDOW_H
