qskinny/examples/sliders/Slider.h

27 lines
647 B
C
Raw Normal View History

2017-07-21 16:21:34 +00: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 06:15:28 +00:00
public:
2017-07-21 16:21:34 +00:00
QSK_SUBCONTROLS( Scale, Decoration )
Slider( QQuickItem* parent = nullptr );
2018-07-31 15:32:25 +00:00
QRectF focusIndicatorRect() const override;
2019-09-05 13:16:33 +00:00
protected:
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
2017-07-21 16:21:34 +00:00
};
#endif