2017-07-21 18:21:34 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* This file may be used under the terms of the 3-clause BSD License
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SLIDER_H
|
|
|
|
#define SLIDER_H
|
|
|
|
|
|
|
|
#include <QskSlider.h>
|
|
|
|
|
|
|
|
class Slider : public QskSlider
|
|
|
|
{
|
|
|
|
using Inherited = QskSlider;
|
|
|
|
|
2018-08-03 08:15:28 +02:00
|
|
|
public:
|
2017-07-21 18:21:34 +02:00
|
|
|
QSK_SUBCONTROLS( Scale, Decoration )
|
|
|
|
|
|
|
|
Slider( QQuickItem* parent = nullptr );
|
2018-01-19 10:15:29 +01:00
|
|
|
|
2018-07-31 17:32:25 +02:00
|
|
|
QRectF focusIndicatorRect() const override;
|
2019-09-05 15:16:33 +02:00
|
|
|
|
|
|
|
protected:
|
2019-09-10 17:01:47 +02:00
|
|
|
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
|
2017-07-21 18:21:34 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|