QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskSubWindowArea.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_SUB_WINDOW_AREA_H
7#define QSK_SUB_WINDOW_AREA_H
8
9#include "QskControl.h"
10
11class QskSubWindow;
12
13class QSK_EXPORT QskSubWindowArea : public QskControl
14{
15 Q_OBJECT
16
17 using Inherited = QskControl;
18
19 public:
20 QSK_SUBCONTROLS( Panel )
21
22 QskSubWindowArea( QQuickItem* parent = nullptr );
23 ~QskSubWindowArea() override;
24
25 protected:
27
28 bool eventFilter( QObject*, QEvent* ) override;
29 virtual bool mouseEventFilter( QskSubWindow*, const QMouseEvent* );
30
31 void itemChange( ItemChange, const ItemChangeData& ) override;
32
33 private:
34 virtual void setDragging( QskSubWindow*, bool );
35 virtual void setActive( QskSubWindow*, bool );
36
37 class PrivateData;
38 std::unique_ptr< PrivateData > m_data;
39};
40
41#endif
Base class of all controls.
Definition QskControl.h:23
void itemChange(ItemChange, const ItemChangeData &) override
virtual void geometryChangeEvent(QskGeometryChangeEvent *)
Definition QskItem.cpp:855