qskinny/playground/parrots/Overlay.h

27 lines
630 B
C
Raw Normal View History

2023-12-07 10:24:47 +00:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#pragma once
2023-12-17 11:33:23 +00:00
#include <QskControl.h>
2023-12-07 10:24:47 +00:00
2023-12-17 11:33:23 +00:00
class Overlay : public QskControl
2023-12-07 10:24:47 +00:00
{
Q_OBJECT
2023-12-17 11:33:23 +00:00
using Inherited = QskControl;
2023-12-07 10:24:47 +00:00
public:
2023-12-18 08:02:45 +00:00
QSK_SUBCONTROLS( Panel )
2023-12-08 14:47:32 +00:00
Overlay( QQuickItem* = nullptr );
~Overlay() override;
2023-12-07 10:24:47 +00:00
2023-12-18 08:02:45 +00:00
QRectF layoutRectForSize( const QSizeF& ) const override;
2023-12-07 10:24:47 +00:00
protected:
void geometryChange( const QRectF&, const QRectF& ) override;
};