add copyrights
This commit is contained in:
parent
e5c0e7ea72
commit
34f7bac935
|
@ -1,3 +1,8 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifndef QSK_LEVELING_SENSOR_H
|
#ifndef QSK_LEVELING_SENSOR_H
|
||||||
#define QSK_LEVELING_SENSOR_H
|
#define QSK_LEVELING_SENSOR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifndef QSK_LEVELING_SENSOR_SKINLET_H
|
#ifndef QSK_LEVELING_SENSOR_SKINLET_H
|
||||||
#define QSK_LEVELING_SENSOR_SKINLET_H
|
#define QSK_LEVELING_SENSOR_SKINLET_H
|
||||||
|
|
||||||
|
@ -32,9 +37,9 @@ class QSK_EXPORT QskLevelingSensorSkinlet : public QskSkinlet
|
||||||
Q_INVOKABLE QskLevelingSensorSkinlet( QskSkin* skin = nullptr );
|
Q_INVOKABLE QskLevelingSensorSkinlet( QskSkin* skin = nullptr );
|
||||||
~QskLevelingSensorSkinlet() override = default;
|
~QskLevelingSensorSkinlet() override = default;
|
||||||
|
|
||||||
static Q_REQUIRED_RESULT float outerRadius( const QskSkinnable* const skinnable );
|
Q_REQUIRED_RESULT static float outerRadius( const QskSkinnable* const skinnable );
|
||||||
static Q_REQUIRED_RESULT float innerRadius( const QskSkinnable* const skinnable );
|
Q_REQUIRED_RESULT static float innerRadius( const QskSkinnable* const skinnable );
|
||||||
static Q_REQUIRED_RESULT QPointF center( const QskSkinnable* const skinnable );
|
Q_REQUIRED_RESULT static QPointF center( const QskSkinnable* const skinnable );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Q_REQUIRED_RESULT QRectF subControlRect( const QskSkinnable* skinnable,
|
Q_REQUIRED_RESULT QRectF subControlRect( const QskSkinnable* skinnable,
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#include <QskFunctions.h>
|
#include <QskFunctions.h>
|
||||||
#include <QskLevelingSensor.h>
|
#include <QskLevelingSensor.h>
|
||||||
#include <QskScaleTickmarks.h>
|
#include <QskScaleTickmarks.h>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifndef QSK_LEVELING_SENSOR_NODES_H
|
#ifndef QSK_LEVELING_SENSOR_NODES_H
|
||||||
#define QSK_LEVELING_SENSOR_NODES_H
|
#define QSK_LEVELING_SENSOR_NODES_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
/******************************************************************************
|
||||||
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "QskLevelingSensorNodes.h"
|
#include "QskLevelingSensorNodes.h"
|
||||||
#include "QskLevelingSensorUtility.h"
|
#include "QskLevelingSensorUtility.h"
|
||||||
#include "QskSGNodeUtility.h"
|
#include "QskSGNodeUtility.h"
|
||||||
|
@ -159,7 +164,7 @@ using R = QskLevelingSensorSkinlet::NodeRole;
|
||||||
using namespace QskSGNode;
|
using namespace QskSGNode;
|
||||||
|
|
||||||
template< typename Root, typename... Children >
|
template< typename Root, typename... Children >
|
||||||
inline Q_REQUIRED_RESULT Root* ensureNodes( QSGNode* root = nullptr )
|
Q_REQUIRED_RESULT inline Root* ensureNodes( QSGNode* root = nullptr )
|
||||||
{
|
{
|
||||||
return ensureNodes< AppendMode::Recursive, Root, Children... >( root );
|
return ensureNodes< AppendMode::Recursive, Root, Children... >( root );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue