#ifndef PANEL_H
#define PANEL_H

/*******************************************************************************
*                                                                              *
* Société de Transports de Montréal.                                    	   *
* 2012                                                                         *
*                                                                              *
* Projet Zones Tests                                                           *
*                                                                              *
*                                                                              *
*                                                                              *
*******************************************************************************/
/*
    Description:
    Description du fichier si nécessaire.

*/

/* ************************************************************************** */
/* Revision:
### 20121210 JFM
    Verision d'origine.

### YYYYMMDD Description du besoin ou du bug
    Description du changement.
 */

/* ************************************************************************** */

#include "GlobalDefine.h"
#include <QtGui/qgraphicsview.h>
#include <QFile>
#include <QGraphicsTextItem>

#include "Guipage.h"
#include "WelcomePage.h"
#include "ZTPage.h"
#include "OptionsPage.h"
#include "FunctionSelectionPage.h"
#include "LogsListPage.h"
#include "LogViewPage.h"
#include "EngineeringPage.h"
#include "MaintenancePage.h"
#include "GeneralSettingsPage.h"
#include "ZTLogViewerPage.h"
#include "ModbusSettingsPage.h"
#include "SEISettingsPage.h"
#include "ModbusDisplayPage.h"
#include "HistorienDisplayPage.h"

class CZoneTest;

class Panel : public QGraphicsView
{
    Q_OBJECT
    //QFile Ledfd;

public:
    Panel();
    ~Panel();
 //   virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);

	void HideWelcomePage(void);

	void ShowMainPage(void);
	void HideMainPAge(void);
	virtual void closeEvent(QCloseEvent *);
	CZoneTest *mProgramHandle;


public slots:
//    void AudioPageButtonClicked();
//    void mMailMsgButtonPressed();
//    void BusScheduleButtonPressed();
//    void DayScheduleButtonPressed();

public:

    QGraphicsScene *scene;
    CWelcomePage *mWelcomePage;
	CZTPage *mZTMainPage;
	COptionsPage *mOptionsPage;
	CFunctionSelectionPage *mFunctionSelectPage;
	CLogsListPage *mLogsListPage;
	CLogViewPage *mLogViewPage;
	CEngineeringPage *mEngineeringPage;
    CMaintenancePage *mMaintenancePage;
	CGeneralSettingsPage *mGeneralSettingsPage;
	CZTLogViewerPage *mZTLogViewerPage;
    CModbusSettingsPage *mModbusSettingsPage;
    CSEISettingsPage *mSEISettingsPage;
    CModbusDisplayPage *mModbusDisplayPage;
    CHistorienDisplayPage *mHistorienDisplayPage;
};

#endif // PANEL_H
