1 /* 2 smplayer, GUI front-end for mplayer. 3 SPDX-FileCopyrightText: 2007 Ricardo Villalba <rvm@escomposlinux.org> 4 5 modified for inclusion in Subtitle Composer 6 SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar> 7 8 SPDX-License-Identifier: GPL-2.0-or-later 9 */ 10 11 #ifndef POINTINGSLIDER_H 12 #define POINTINGSLIDER_H 13 14 #include <QSlider> 15 16 class PointingSlider : public QSlider 17 { 18 Q_OBJECT 19 20 public: 21 explicit PointingSlider(QWidget *parent = 0); 22 explicit PointingSlider(Qt::Orientation orientation, QWidget *parent = 0); 23 24 virtual ~PointingSlider(); 25 26 protected: 27 void mousePressEvent(QMouseEvent *e) override; 28 }; 29 30 #endif 31