⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aclock.h

📁 基于qte 2.3.7做的 趋势图控件
💻 H
字号:
/****************************************************************************** $Id: qt/examples/aclock/aclock.h   2.3.7   edited 2001-01-26 $**** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.**** This file is part of an example program for Qt.  This example** program may be used, distributed and modified without limitation.*******************************************************************************/#ifndef ACLOCK_H#define ACLOCK_H#include <qwidget.h>class Hwt_trend : public QWidget		// analog clock widget{    Q_OBJECTpublic:    Hwt_trend( QWidget *parent=0, const char *name=0 );    void runDemo( int t);    void setVol( float pvolt);protected:    void paintEvent( QPaintEvent *);    private slots:    void drawClock( QPainter* );    void	timeout();private:    long	c;    int		flag,demo;    float	volt;    float	point[30];    QPointArray  *pts;    QString s[4];};#endif // ACLOCK_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -