2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Kaj Wallin - kaj.wallin@ixonos.com
7 Situare is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 version 2 as published by the Free Software Foundation.
11 Situare is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with Situare; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
23 #ifndef PANELSLIDERBAR_H
24 #define PANELSLIDERBAR_H
27 #include "panelcommon.h"
30 * @brief Generic class from drawing sliding bar attached to panels
32 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
33 * @class PanelSliderBar panelsliderbar.h "ui/panelsliderbar.h"
35 class PanelSliderBar : public QWidget
43 * @param parent Parent
44 * @param side Qstring for the sliderbar location. Accepts "LEFT" and "RIGHT"
46 PanelSliderBar(QWidget *parent, Side side);
48 /*******************************************************************************
49 * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
50 ******************************************************************************/
53 * @brief Draws stylesheet used in this class.
55 * @param * QPaintEvent unused
57 void paintEvent(QPaintEvent *);
60 * @brief Mouse release event used to expand/collapse the panel
66 void mouseReleaseEvent(QMouseEvent *);
69 /*******************************************************************************
71 ******************************************************************************/
74 * @brief Signal that is emitted the slider bar is clicked
76 * @sa mouseReleaseEvent
80 #endif // PANELSLIDERBAR_H