qskinny/src/controls/QskMainView.h

39 lines
861 B
C
Raw Normal View History

2022-07-12 14:51:39 +00:00
/******************************************************************************
2024-01-17 13:31:45 +00:00
* QSkinny - Copyright (C) The authors
2023-04-06 07:23:37 +00:00
* SPDX-License-Identifier: BSD-3-Clause
2022-07-12 14:51:39 +00:00
*****************************************************************************/
2023-03-10 14:45:53 +00:00
#ifndef QSK_MAIN_VIEW_H
#define QSK_MAIN_VIEW_H
2022-07-12 14:51:39 +00:00
#include "QskLinearBox.h"
2023-03-10 14:45:53 +00:00
class QSK_EXPORT QskMainView : public QskLinearBox
2022-07-12 14:51:39 +00:00
{
Q_OBJECT
using Inherited = QskLinearBox;
public:
2023-03-10 14:45:53 +00:00
QskMainView( QQuickItem* parent = nullptr );
~QskMainView() override;
2022-07-12 14:51:39 +00: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 14:51:39 +00:00
private:
class PrivateData;
std::unique_ptr< PrivateData > m_data;
};
#endif