defuze.me  Client
parameterscategory.hpp
00001 /**************************************************************************
00002 ** defuze.me Epitech Innovative Project
00003 **
00004 ** Copyright 2010-2011
00005 **   Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard
00006 **   Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier
00007 **
00008 ** All rights reserved.
00009 **************************************************************************/
00010 
00011 #ifndef PARAMETERSWIDGET_HPP
00012 #define PARAMETERSWIDGET_HPP
00013 
00014 #include "ui_parameterscategory.h"
00015 #include "parameterspage.hpp"
00016 
00017 namespace Gui
00018 {
00019     class ParametersCategory : public QWidget, private Ui::ParametersCategory
00020     {
00021         Q_OBJECT
00022 
00023     public:
00024         explicit ParametersCategory(const QString &title, QWidget *parent = 0);
00025         const QString &getTitle() const;
00026         const QString &getPath() const;
00027         void addPage(ParametersPage *page);
00028 
00029     protected:
00030         void changeEvent(QEvent *e);
00031         QString title;
00032         QString path;
00033     };
00034 }
00035 
00036 #endif // PARAMETERSWIDGET_HPP