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

📄 display.h

📁 在ARM9和ARMLinux下利用QT编写的实时数据采集
💻 H
字号:
/****************************************************************************** Form interface generated from reading ui file 'displaywidget.ui'**** Created: 星期六 八月 25 11:04:09 2007**      by: The User Interface Compiler ($Id: qt/main.cpp   3.2.1   edited May 19 14:22 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef DISPLAYWIDGET_H#define DISPLAYWIDGET_H#include <qvariant.h>//#include <qpixmap.h>#include <qwidget.h>#define ADC_DEV		"/dev/adc/0raw"#define ADC_WRITE(ch, prescale)	((ch)<<16|(prescale))class QVBoxLayout;class QHBoxLayout;class QGridLayout;class Screen;class QPushButton;class QLabel;class QLineEdit;
//class QString;
//class QStringList;
class QTimer;class QFile;class DisplayWidget : public QWidget{    Q_OBJECTpublic:    DisplayWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );    ~DisplayWidget();

	QSize sizeHint() const;
	//double readCurveDate();
	//void readFile();	int GetADresult(int c);
    void run();    Screen* screenFir;    Screen* screenSec;    Screen* screenThr;    QPushButton* startButton;    QLabel* labelPixmap;    QPushButton* stopButton;    QLabel* labelFir;    QLineEdit* lineEditFir;    QLabel* labelSec;    QLineEdit* lineEditSec;    QLabel* labelThr;    QLineEdit* lineEditThr;protected:    QGridLayout* DisplayWidgetLayout;    QVBoxLayout* layout1;    QHBoxLayout* layout5;    QVBoxLayout* layout2;    QVBoxLayout* layout3;    QVBoxLayout* layout4;protected slots:    virtual void languageChange();	void tick();
	void start();
	void stop();private:   // QPixmap image0;

	QTimer *timer;	QFile *ADFile;
    enum { Margin = 40};
	
	//QString str;
	//QStringList strlist;
	//QStringList ::Iterator it;
//	int time;
	//double yval;	double yval[3];	//int adc_fd;};#endif // DISPLAYWIDGET_H

⌨️ 快捷键说明

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