lgrTimeManagementIcon.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #if DtHLA
00010 
00011 #ifndef lgrTimeManagementIcon_H_
00012 #define lgrTimeManagementIcon_H_
00013 
00014 #include "lgrSimGui.h"
00015 
00016 #include <QtGui/QLabel>
00017 #include <QtGui/QPixmap>
00018 
00019 namespace MAKLogger
00020 {
00021 
00022    class DtLgrGuiModel;
00023    class DtLgrHlaSimInterface;
00024 
00027    class DT_DLL_LGRSIMGUI DtLgrTimeManagementIcon : public QLabel
00028    {   
00029       Q_OBJECT
00030    public:
00031       DtLgrTimeManagementIcon(DtLgrGuiModel& model,QWidget* parent);
00032       virtual ~DtLgrTimeManagementIcon();
00033 
00034    public slots:
00035 
00037       virtual void modeChanged(bool);
00038 
00039    protected:
00040 
00041       enum TimeMangementMode
00042       {
00043          NoTimeManagement,
00044          Regulating,
00045          Constrained,
00046          RegulatingConstrained
00047       };
00048 
00049       TimeMangementMode currentMode();
00050 
00051       QPixmap myNoTimeManagmentPixmap;
00052       QPixmap myRegulatingPixmap;
00053       QPixmap myConstrainedPixmap;
00054       QPixmap myRegulatingConstrainedPixmap;
00055 
00056       const DtLgrHlaSimInterface* mySimInterface;
00057    };
00058 }
00059 
00060 #endif
00061 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)