![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtAnalogClock.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 00014 #ifndef DTANALOGCLOCK_H 00015 #define DTANALOGCLOCK_H 00016 00017 #include <vrvCoreQt/vrvCoreQt.h> 00018 #include <QtGui/QWidget> 00019 #include <QtCore/QTime> 00020 00021 namespace makVrv 00022 { 00023 00026 class DT_DLL_VRVCOREQT DtAnalogClock : public QWidget 00027 { 00028 //Q_OBJECT 00029 public: 00030 00032 DtAnalogClock(QWidget *parent = 0); 00033 00035 virtual ~DtAnalogClock(); 00036 00039 virtual void setTime(QTime time); 00040 00041 protected: 00043 virtual void paintEvent(QPaintEvent *event); 00044 00045 QTime myTime; 00046 }; 00047 00048 } 00049 00050 #endif