qskinny/src/controls/QskBox.h

28 lines
668 B
C
Raw Normal View History

2017-07-21 18:21:34 +02:00
/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#ifndef QSK_BOX_H
#define QSK_BOX_H
#include "QskControl.h"
class QSK_EXPORT QskBox : public QskControl
{
Q_OBJECT
using Inherited = QskControl;
2018-08-03 08:15:28 +02:00
public:
2017-07-21 18:21:34 +02:00
QSK_SUBCONTROLS( Panel )
QskBox( QQuickItem* parent = nullptr );
2018-07-31 17:32:25 +02:00
~QskBox() override;
2017-07-21 18:21:34 +02:00
QRectF layoutRectForSize( const QSizeF& ) const override;
2018-07-31 17:32:25 +02:00
QSizeF contentsSizeHint() const override;
2017-07-21 18:21:34 +02:00
};
#endif