qskinny/examples/gallery/slider/CustomSlider.h

24 lines
584 B
C
Raw Normal View History

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
*****************************************************************************/
2020-08-11 17:56:53 +02:00
#ifndef CUSTOM_SLIDER_H
#define CUSTOM_SLIDER_H
2017-07-21 18:21:34 +02:00
#include <QskSlider.h>
2020-08-11 17:56:53 +02:00
class CustomSlider : public QskSlider
2017-07-21 18:21:34 +02:00
{
using Inherited = QskSlider;
2018-08-03 08:15:28 +02:00
public:
2017-07-21 18:21:34 +02:00
QSK_SUBCONTROLS( Scale, Decoration )
2020-08-11 17:56:53 +02:00
CustomSlider( QQuickItem* parent = nullptr );
2018-07-31 17:32:25 +02:00
QRectF focusIndicatorRect() const override;
2017-07-21 18:21:34 +02:00
};
#endif