2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Kaj Wallin - kaj.wallin@ixonos.com
6 Pekka Nissinen - pekka.nissinen@ixonos.com
8 Situare is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 Situare is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Situare; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
29 * @brief Class for for drawing a vertical line between panel content and tab bar
31 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
32 * @author Pekka Nissinen - pekka.nissinen (at) ixonos.com
34 class PanelBar : public QWidget
42 * @param parent Parent
44 PanelBar(QWidget *parent = 0);
46 /*******************************************************************************
47 * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
48 ******************************************************************************/
51 * @brief Draws the bar
53 * @param event Paint event
55 void paintEvent(QPaintEvent *event);
57 /*******************************************************************************
58 * MEMBER FUNCTIONS AND SLOTS
59 ******************************************************************************/
62 * @brief Slot to redraw the bar after window resize event
64 * @param size Size of the new window
66 void resizeBar(const QSize &size);
68 /*******************************************************************************
70 ******************************************************************************/
72 QPixmap m_menuDropShadowTile; ///< Pixmap for menu drop shadow
73 QPixmap m_barTile; ///< Pixmap for panel bar
75 QRect m_barRect; ///< Rect for the panel bar