QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskMainView.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_MAIN_VIEW_H
7#define QSK_MAIN_VIEW_H
8
9#include "QskLinearBox.h"
10
11class QSK_EXPORT QskMainView : public QskLinearBox
12{
13 Q_OBJECT
14
15 using Inherited = QskLinearBox;
16
17 public:
18 QskMainView( QQuickItem* parent = nullptr );
19 ~QskMainView() override;
20
21 QskControl* header() const;
22 void setHeader( QskControl* );
23
24 QskControl* body() const;
25 void setBody( QskControl* );
26
27 QskControl* footer() const;
28 void setFooter( QskControl* );
29
30 protected:
31 void focusInEvent( QFocusEvent* );
32
33 private:
34 class PrivateData;
35 std::unique_ptr< PrivateData > m_data;
36};
37
38#endif
Base class of all controls.
Definition QskControl.h:23
Layout stringing items in rows and columns.