#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 <QGraphicsView>
#include <QFile>
#include <QGraphicsTextItem>

#include "Guipage.h"
#include "MainPage.h"
#include "LogViewPage.h"
#include "LogsListPage.h"
#include "OptionsPage.h"
#include "NetworkZTListPage.h"
#include "NetworkCtrlPage.h"
#include "RemoteZTPage.h"
#include "ZTLogViewerPage.h"
#include "ProgressBarPage.h"
#include "RemoteZTCtrlPage.h"
#include "DatabaseMgrPage.h"
#include "ZTLogsListPage.h"



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);


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

public:

    QGraphicsScene *scene;
    CMainPage *mMainPage;

    //Database mode display
    CLogViewPage *mDatabaseModeLogViewPage;
    CLogsListPage *mDatabaseModeLogListPage;
    COptionsPage *mOptionsPage;
    CDatabaseMgrPage *mDatabaseMgrPage;

    //Network mode display
    CNetworkZTListPage *mNetworkZTListPage;
    CNetworkCtrlPage *mNetworkCtrlPage;
    CRemoteZTPage *mRemoteZTPage;
    CZTLogViewerPage *mZTLogViewerPage;
    CLogViewPage *mNetworkModeLogViewPage;
    CLogsListPage *mNetworkModeLogListPage;
    CRemoteZTCtrlPage *mRemoteZTCtrlPage;
    CZTLogViewerPage *mZTLogFileViewerPage;

    //ZTLogs mode display
    CZTLogsListPage *mZTLogsListPage;

    CProgressBarPage *mProgressBarPage;
};

#endif // PANEL_H
