myparameter.h

来自「图形软件,用QT编写的,可以用来学习软件的」· C头文件 代码 · 共 53 行

H
53
字号
/**************************************************************************************************************************************************************                                                                           ****    equal III the graphic builder                                          ****                                                                           ****    Copyright (C) 2003 Oleksiy Pylypenko                                   ****                                                                           **** This file may be distributed and/or modified under the terms of the       **** GNU General Public License version 2 as published by the Free Software    **** Foundation and appearing in the file license included in the              **** packaging of this file.                                                   ****                                                                           **** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE   **** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ****                                                                           **** Contact earthman@inbox.ru if any conditions of this licensing are         **** not clear to you.                                                         ****                                                                           ****                                                                           ********************************************************************************* *****************************************************************************/#ifndef MYPARAMETER_H#define MYPARAMETER_H#include <qwidget.h>#include <qlineedit.h>#include <qlabel.h>class myParameter : public QWidget{    Q_OBJECT    double aparameter;public:	QLabel *paramLabel;	QLineEdit *paramEdit;    myParameter(QWidget *parent=0);	double step(void);public:	void setParameter(double value);	double parameter(void);public slots:	void clear(void);	void changed(void);signals:	void update(void);};#endif //MYPARAMETER_H

⌨️ 快捷键说明

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