00001 /* 00002 Situare - A location system for Facebook 00003 Copyright (C) 2010 Ixonos Plc. Authors: 00004 00005 Kaj Wallin - kaj.wallin@ixonos.com 00006 00007 Situare is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 version 2 as published by the Free Software Foundation. 00010 00011 Situare is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with Situare; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00019 USA. 00020 */ 00021 00022 00023 #ifndef PANELSLIDERBAR_H 00024 #define PANELSLIDERBAR_H 00025 00026 #include <QWidget> 00027 #include "panelcommon.h" 00028 00035 class PanelSliderBar : public QWidget 00036 { 00037 Q_OBJECT 00038 00039 public: 00046 PanelSliderBar(QWidget *parent, Side side); 00047 00048 /******************************************************************************* 00049 * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS 00050 ******************************************************************************/ 00051 protected: 00057 void paintEvent(QPaintEvent *); 00058 00066 void mouseReleaseEvent(QMouseEvent *); 00067 00068 00069 /******************************************************************************* 00070 * SIGNALS 00071 ******************************************************************************/ 00072 signals: 00078 void clicked(); 00079 }; 00080 #endif // PANELSLIDERBAR_H