QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskInputGrabber.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_INPUT_GRABBER_H
7#define QSK_INPUT_GRABBER_H
8
9#include "QskControl.h"
10
12{
13 Q_OBJECT
14
15 using Inherited = QskControl;
16
17 public:
18 QskInputGrabber( QQuickItem* parent = nullptr );
19 ~QskInputGrabber() override;
20
21 virtual QRectF grabberRect() const;
22 virtual bool isBlocking( const QPointF& ) const;
23
24 public Q_SLOTS:
25 void updateGeometry();
26
27 protected:
28 bool event( QEvent* ) override;
29
30 private:
31 class PrivateData;
32 std::unique_ptr< PrivateData > m_data;
33};
34
35#endif
Base class of all controls.
Definition QskControl.h:23