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,
23 #ifndef PANELCONTENTSTACK_H
24 #define PANELCONTENTSTACK_H
26 #include <QStackedWidget>
33 * @brief Stack class for tabbed pabel widgets
35 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
36 * @author Pekka Nissinen - pekka.nissinen@ixonos.com
38 class PanelContentStack : public QStackedWidget
46 * @param parent Parent
48 PanelContentStack(QWidget *parent = 0);
50 /*******************************************************************************
51 * MEMBER FUNCTIONS AND SLOTS
52 ******************************************************************************/
55 * @brief Slot to redraw the panel content area after window resize event
57 * @param size Size of the new window
59 void resizePanelContentStack(const QSize &size);
61 /*******************************************************************************
63 *******************************************************************************/
65 QVBoxLayout *m_panelVBox; ///< Vertical layout inside the panel
67 PanelBase *m_panelBase; ///< Widget for panel base
70 #endif // PANELCONTENTSTACK_H