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

*/

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

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

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


#ifndef MAINPAGE_H
#define MAINPAGE_H


#include "GlobalDefine.h"
#include <QGraphicsWidget>
#include "Guipage.h"
#include <QString>
#include "PushButton.h"
#include <QTimer>


class COutilZT;
class CEvent;

class CMainPage : public CGuiPage
{
Q_OBJECT
public:
    CMainPage(QGraphicsWidget *Parent = 0);
    CPushButton *mToolsPushButton;
    CPushButton *mNetworkModePushButton;
    CPushButton *mDatabaseModePushButton;
    CPushButton *mDatabaseOptionsPushButton;
    CPushButton *mZTLogsListPushButton;
    QGraphicsTextItem *mTimeDisplayText;
    QTimer *mTimeDisplayTimer;


     COutilZT *mProgramHandle;





private:




public slots:
     void UpdateTime();
     void ButtonPressed(CPushButton*);



};

#endif // MAINPAGE_H
