-/*
- Situare - A location system for Facebook
- Copyright (C) 2010 Ixonos Plc. Authors:
-
- Kaj Wallin - kaj.wallin@ixonos.com
- Pekka Nissinen - pekka.nissinen@ixonos.com
-
- Situare is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- version 2 as published by the Free Software Foundation.
-
- Situare is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Situare; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA.
-*/
-
-#ifndef PANELCONTENT_H
-#define PANELCONTENT_H
-
-#include <QWidget>
-
-class QVBoxLayout;
-
-class PanelBase;
-
-///< @todo Base class? Might be misleading comment and does not tell about what this class does
-/**
- * @brief Base class for panel content area
- *
- * @author Kaj Wallin - kaj.wallin (at) ixonos.com
- * @author Pekka Nissinen - pekka.nissinen@ixonos.com
- */
-class PanelContent : public QWidget
-{
- Q_OBJECT
-
-public:
- /**
- * @brief Constructor
- *
- * @param parent Parent
- */
- PanelContent(QWidget *parent = 0);
-
-/*******************************************************************************
- * MEMBER FUNCTIONS AND SLOTS
- ******************************************************************************/
-public:
- /**
- * @brief Sets the panel content widget
- *
- * @param widget Widget
- */
- void setContentWidget(QWidget *widget);
-
-public slots:
- /**
- * @brief Slot to redraw the panel content area after window resize event
- *
- * @param size Size of the new window
- */
- void resizePanelContent(const QSize &size);
-
-/*******************************************************************************
- * DATA MEMBERS
- *******************************************************************************/
-private:
- QVBoxLayout *m_panelVBox; ///< Vertical layout inside the panel
-
- PanelBase *m_panelBase; ///< Widget for panel base
-};
-
-#endif // PANELCONTENT_H