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 PANELCONTENT_H
24 #define PANELCONTENT_H
33 * @brief Base class for panel content area
35 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
36 * @author Pekka Nissinen - pekka.nissinen@ixonos.com
38 * @class PanelContent panelcontent.h "ui/panelcontent.h"
40 class PanelContent : public QWidget
50 PanelContent(QWidget *parent = 0);
52 /*******************************************************************************
53 * MEMBER FUNCTIONS AND SLOTS
54 ******************************************************************************/
57 * @brief Sets the panel content widget
59 * @param widget Widget
61 void setContentWidget(QWidget *widget);
65 * @brief Slot to redraw the panel content area after window resize event
67 * @param size Size of the new window
69 void resizePanelContent(const QSize &size);
71 /*******************************************************************************
73 *******************************************************************************/
75 QVBoxLayout *m_panelVBox; ///< Vertical layout inside the panel
77 PanelBase *m_panelBase; ///< Widget for panel base
80 #endif // PANELCONTENT_H