aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/horizontalslider.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-06-29 18:52:07 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-06-29 18:52:07 +0000
commitf19c54c167659d8476f445b5c22a5e5237b50c93 (patch)
tree60b81d31079871388ffcdb9fa7e0a3636a4791a6 /src/plugins/Ui/skinned/horizontalslider.h
parentcde2bf3d8d2c5d132805d1c142940410d6a22596 (diff)
downloadqmmp-f19c54c167659d8476f445b5c22a5e5237b50c93.tar.gz
qmmp-f19c54c167659d8476f445b5c22a5e5237b50c93.tar.bz2
qmmp-f19c54c167659d8476f445b5c22a5e5237b50c93.zip
skinned: reverted previous commits
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5189 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/horizontalslider.h')
-rw-r--r--src/plugins/Ui/skinned/horizontalslider.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/plugins/Ui/skinned/horizontalslider.h b/src/plugins/Ui/skinned/horizontalslider.h
deleted file mode 100644
index c69bf4bbe..000000000
--- a/src/plugins/Ui/skinned/horizontalslider.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- * Copyright (C) 2015 by Ilya Kotov *
- * forkotov02@hotmail.ru *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- * This program is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
- * GNU General Public License for more details. *
- * *
- * You should have received a copy of the GNU General Public License *
- * along with this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-#ifndef HORIZONTALSLIDER_H
-#define HORIZONTALSLIDER_H
-
-#include <QWidget>
-#include <QColor>
-
-class Skin;
-class PixmapWidget;
-/**
- @author Ilya Kotov <forkotov02@hotmail.ru>
-*/
-class HorizontalSlider : public QWidget
-{
-Q_OBJECT
-public:
- HorizontalSlider(QWidget *parent = 0);
-
- ~HorizontalSlider();
-
-public slots:
- void setPos(int pos, int max);
-
-signals:
- void sliderMoved (int);
-
-private slots:
- void updateSkin();
-
-private:
- Skin *m_skin;
- PixmapWidget *m_scroll;
- int m_old;
- bool m_moving, m_pressed;
- int press_pos;
- int m_min, m_max, m_value, pos, m_pos;
- int convert(int); // value = convert(position);
- QColor m_normal, m_normal_bg;
-
-protected:
- void paintEvent(QPaintEvent*);
- void mousePressEvent(QMouseEvent*);
- void mouseReleaseEvent(QMouseEvent*);
- void mouseMoveEvent(QMouseEvent*);
-};
-
-#endif