lgrPlaybackButtons.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 lgrPlaybackButtons_H_
00010 #define lgrPlaybackButtons_H_
00011 
00012 #include "lgrToolBar.h"
00013 
00014 class QIcon;
00015 class QPushButton;
00016 class QFrame;
00017 
00018 namespace MAKLogger
00019 {
00020    class DtLgrGuiModel;
00021 
00023    class DT_DLL_LGRGUI DtLgrPlaybackButtons : public DtLgrToolBar
00024    {
00025       Q_OBJECT
00026    public:
00028       DtLgrPlaybackButtons(QWidget* parent);
00029 
00031       virtual ~DtLgrPlaybackButtons();
00032 
00034       virtual void connectToModel(DtLgrGuiModel& model);
00035 
00037       virtual void postModelUpdate(DtLgrGuiModel& model);
00038 
00039    public slots:
00040 
00041       void changedOrientation(Qt::Orientation orientation);
00042 
00043    protected:
00044 
00046       void initButtons();
00048       void setIcons();
00049 
00051       void makeStopButtonForPlaying();
00052 
00054       void makeStopButtonForRecording();
00055 
00056       QPushButton* playButton;
00057       QFrame* recordSeparator;
00058       QPushButton* recordButton;
00059       QPushButton* stopButton;
00060       QPushButton* pauseButton;
00061       QPushButton* jumpToEndButton;
00062       QPushButton* jumpToStartButton;
00063 
00064 
00065       QIcon* myPlayStopIcon;
00066       QIcon* myRecordStopIcon;
00067       QIcon* myActivetIcon;
00068 
00069       Qt::Orientation myOrientation;
00070 
00071    };
00072 }
00073 
00074 #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)