?? worldtimer.h
字號(hào):
/****************************************************************************
** File: 'worldtimer.h'
**
** Created: Sat Dec 2 15:58:32 2006
** by: Wya ($Id: edited Sat Dec 2 15:58:32 2006 $)
**
** WARNING! All changes made by wya
**
****************************************************************************/
#ifndef WORLDTIMER_H
#define WORLDTIMER_H
#include "ui_worldtimer.h"
#include <QDialog>
#include "setlocaltime.h" //need eTimeZone
class AnalogClock;
class DigitalClock;
class YConfigure;
class YStopWatch;
class QTextStream;
class QFile;
class YWorldTimer : public QDialog,public Ui::WorldTimer
{
Q_OBJECT
public:
YWorldTimer(QWidget *parent = 0);
virtual ~YWorldTimer();
int getTheOffsetTimeValue() {return m_OffsetTime;}
int getStopWatchCounter(){return m_StopWatchCounter;}
bool getSynchroEnable(){return m_SynchroEnable;}
void setSynchroEnable(bool b=false);
void setStopWatchCounter(int i){ m_StopWatchCounter=i;}
void synchroStopWatchList();
void disSynchroStopWatchList();
bool openLogStream();
public slots:
void slotActivityAnalogTimer();
void slotActivityDigitalTimer();
void slotSetLocalTimeButton(bool ok);
void slotSlideWorldTimer(int i);
void slotUpdateOffset();
void slotStartOneStopWatch();
void slotSynchroCheckBox(int i);
void slotCloseStopWatch(int ind);
protected:
void closeEvent( QCloseEvent* );
private:
YConfigure * m_conf;
AnalogClock *m_analogClock;
DigitalClock *m_digitalClock;
int m_OffsetTime;
eTimeZone m_eTimeZone;
QList <YStopWatch *> watchList;//save all the string
int m_StopWatchCounter;//stop watch counter max is 3
bool m_SynchroEnable;
QTextStream * m_LogStream;
QFile *m_Log;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -