qskinny/src/controls/QskMainView.h

39 lines
867 B
C
Raw Normal View History

2022-07-12 16:51:39 +02:00
/******************************************************************************
2023-04-06 09:23:37 +02:00
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
2022-07-12 16:51:39 +02:00
*****************************************************************************/
2023-03-10 15:45:53 +01:00
#ifndef QSK_MAIN_VIEW_H
#define QSK_MAIN_VIEW_H
2022-07-12 16:51:39 +02:00
#include "QskLinearBox.h"
2023-03-10 15:45:53 +01:00
class QSK_EXPORT QskMainView : public QskLinearBox
2022-07-12 16:51:39 +02:00
{
Q_OBJECT
using Inherited = QskLinearBox;
public:
2023-03-10 15:45:53 +01:00
QskMainView( QQuickItem* parent = nullptr );
~QskMainView() override;
2022-07-12 16:51:39 +02:00
QskControl* header() const;
void setHeader( QskControl* );
QskControl* body() const;
void setBody( QskControl* );
QskControl* footer() const;
void setFooter( QskControl* );
protected:
void focusInEvent( QFocusEvent* );
2022-07-12 16:51:39 +02:00
private:
class PrivateData;
std::unique_ptr< PrivateData > m_data;
};
#endif