File indexing completed on 2024-12-22 04:40:21

0001 /*
0002     smplayer, GUI front-end for mplayer.
0003     SPDX-FileCopyrightText: 2007 Ricardo Villalba <rvm@escomposlinux.org>
0004 
0005     modified for inclusion in Subtitle Composer
0006     SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #ifndef POINTINGSLIDER_H
0012 #define POINTINGSLIDER_H
0013 
0014 #include <QSlider>
0015 
0016 class PointingSlider : public QSlider
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit PointingSlider(QWidget *parent = 0);
0022     explicit PointingSlider(Qt::Orientation orientation, QWidget *parent = 0);
0023 
0024     virtual ~PointingSlider();
0025 
0026 protected:
0027     void mousePressEvent(QMouseEvent *e) override;
0028 };
0029 
0030 #endif