Skip to content

File RectangleZoomOverlay.hpp

File List > internal > RectangleZoomOverlay.hpp

Go to the documentation of this file

//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once

#include "QAccelPlot/internal/OutlinedRectangle.hpp"

namespace QAccelPlot {
class PlotRectangleZoom;
} // namespace QAccelPlot

namespace QAccelPlot::Internal {

class RectangleZoomOverlay final : public OutlinedRectangle {
public:
    RectangleZoomOverlay(QQuickItem* parent, PlotRectangleZoom* configuration);

private:
    void syncSelection();
    void syncStyle();

    PlotRectangleZoom* configuration_;
};

} // namespace QAccelPlot::Internal