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

📄 equal3_mf.h

📁 图形软件,用QT编写的,可以用来学习软件的
💻 H
字号:
/**************************************************************************************************************************************************************                                                                           ****    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 EQUAL3_MF_H#define EQUAL3_MF_H#include <qmainwindow.h>#include <qtimer.h>#include <qtabwidget.h>#include "mygraphiclist.h"#include "myscalecontrol.h"#include "mygraphic.h"#include "myparameter.h"#include "equal_headers.h"#include "builder.h"#include "buildgraphicevent.h"#include "help.h"class equal2_mainframe : public QMainWindow, public QThread{    Q_OBJECT	myHelp *helpsystem;	QTextBrowser *alicense;	myGraphicList *graphiclist;	myScaleControl *scalecontrol;	myGraphic *graphic;	myParameter *parameter;	QTabWidget *tabwidget;		GraphicBuilder builder;public:	QString filename;    equal2_mainframe( const char *text = 0, QWidget *parent=0, const char *name=0 );	void updateView(void);signals:    void clicked();public:	void open(QString fn);protected:    virtual void closeEvent( QCloseEvent * );    void mouseReleaseEvent( QMouseEvent * );	// catchs events from build thread	bool event(QEvent *e);		// build thread//	{		QMutex dataMutex;		QWaitCondition startWork;		void run(void);		//	};//	BuildThread buildThread;	QTimer *updateTimer;	buildGraphicEvent buildData;        QString oldGraphic;	void job(void);	bool changed;	bool justOpened;	int panelSize;private:	bool close(void);	void updateTitle(void);public slots:	//File	void makeNew(void);//--	bool save(void);	bool saveAs(void);	void open(void);//--	void quit(void);	void about(void);public slots:	void updateDataWithTimeOut(void);	void updateData(void);	void updateSize(QSize s);	void panelMoveLeft(void);	void panelMoveRight(void);	void resizeUp(void);	void resizeDown(void);	void resizeLeft(void);	void resizeRight(void);	void paramDown(void);	void paramUp(void);	void call_for_help(void);	void license(void);};#endif //EQUAL3_MF_H

⌨️ 快捷键说明

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