?? analogclock.h
字號:
/****************************************************************************
** File: 'analogclock.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 ANALOGCLOCK_H
#define ANALOGCLOCK_H
#include <QWidget>
class AnalogClock : public QWidget
{
Q_OBJECT
public:
AnalogClock(QWidget *parent = 0);
virtual void setSizeOfClock(int width,int heigh);
int getOffsetTimeValue(){ return m_offsetTimeValue; }
void setOffsetTimeValue( int value=0){ m_offsetTimeValue=value;};
protected:
void paintEvent(QPaintEvent *event);
private:
int m_offsetTimeValue;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -