Simplified panel structure yet again by merging PanelBase class into PanelContentStac...
[situare] / src / ui / panelbase.h
diff --git a/src/ui/panelbase.h b/src/ui/panelbase.h
deleted file mode 100644 (file)
index f0a7db2..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-    Situare - A location system for Facebook
-    Copyright (C) 2010  Ixonos Plc. Authors:
-
-        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 PANELBASE_H
-#define PANELBASE_H
-
-#include <QPaintEvent>
-#include <QPixmap>
-#include <QWidget>
-
-///< @todo Base class? Might be misleading comment and does not tell about what this class does
-///< @todo Why not directly inheriting QStackedWidget?
-/**
- * @brief Base class for panel inner content
- *
- * @author Pekka Nissinen - pekka.nissinen@ixonos.com
- */
-class PanelBase : public QWidget
-{
-    Q_OBJECT
-
-public:
-    /**
-     * @brief Constructor
-     *
-     * @param parent Parent
-     */
-    PanelBase(QWidget *parent = 0);
-
-/*******************************************************************************
- * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
- ******************************************************************************/
-protected:
-    /**
-     * @brief Draws the panel content base
-     *
-     * @param event Paint event
-     */
-    void paintEvent(QPaintEvent *event);
-
-/*******************************************************************************
- * DATA MEMBERS
- *******************************************************************************/
-private:
-    QPixmap m_menuDropShadowTile; ///< Pixmap for menu drop shadow
-};
-
-#endif // PANELBASE_H