lgrTimeBarWidget.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #ifndef lgrTimeBarWidget_H_
00010 #define lgrTimeBarWidget_H_
00011 
00012 #include "lgrGui.h"
00013 
00014 #include <QtGui/QWidget>
00015 #include <utility>
00016 
00017 class QMainWindow;
00018 
00019 namespace MAKLogger
00020 {
00021    class DtAbsoluteTime;
00022    class DtLgrGuiModel;
00023    class DtRangeWidget;
00024    class DtBoundsSlider;
00025 
00027    class DT_DLL_LGRGUI DtLgrTimeBarWidget : public QWidget
00028    {
00029       Q_OBJECT
00030    public:
00032       DtLgrTimeBarWidget(DtLgrGuiModel& model,QWidget* parent);
00033 
00035       virtual ~DtLgrTimeBarWidget();
00036 
00038       DtBoundsSlider* zoomControl();
00039 
00041       DtBoundsSlider* timeControl();
00042 
00044       virtual QSize minimumSizeHint() const;
00045    
00046    public slots:
00047 
00049       virtual void postModelUpdate(DtLgrGuiModel& model);
00050            
00051    protected:
00052 
00053       void startStopTimesChangedCallback(const std::pair<DtAbsoluteTime,DtAbsoluteTime>& aPair);
00054 
00055       DtRangeWidget* myStartStopTimeSlider;
00056       DtRangeWidget* myZoomSlider;
00057       DtLgrGuiModel* myModel;
00058       bool myFileLoadedState;
00059    };
00060 }
00061 
00062 #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)