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
32 ///< @todo Base class? Might be misleading comment and does not tell about what this class does
34 * @brief Base class for panel content area
36 * @author Kaj Wallin - kaj.wallin (at) ixonos.com
37 * @author Pekka Nissinen - pekka.nissinen@ixonos.com
39 class PanelContent : public QWidget
49 PanelContent(QWidget *parent = 0);
51 /*******************************************************************************
52 * MEMBER FUNCTIONS AND SLOTS
53 ******************************************************************************/
56 * @brief Sets the panel content widget
58 * @param widget Widget
60 void setContentWidget(QWidget *widget);
64 * @brief Slot to redraw the panel content area after window resize event
66 * @param size Size of the new window
68 void resizePanelContent(const QSize &size);
70 /*******************************************************************************
72 *******************************************************************************/
74 QVBoxLayout *m_panelVBox; ///< Vertical layout inside the panel
76 PanelBase *m_panelBase; ///< Widget for panel base
79 #endif // PANELCONTENT_H