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

📄 kognitiondoc.h

📁 vc++数字图像识别技术典型案例
💻 H
字号:
/****************************************************************************** * 光学字符识别程序 * 文件名:kognitiondoc.h * 功能  :文档类相关函数定义 * modified by PRTsinghua@hotmail.com******************************************************************************/#ifndef KOGNITIONDOC_H#define KOGNITIONDOC_H#ifdef HAVE_CONFIG_H#include <config.h>#endif// QT 相关头文件#include <qobject.h>#include <qstring.h>#include <qlist.h>// KDE 相关头文件#include <kurl.h>// 应用相关头文件#include "page.h"class KognitionDoc : public Page{	Q_OBJECT	public:		// 构造函数		KognitionDoc( KognitionApp *app, const char *name=0 );		// 析构函数		~KognitionDoc();		// 设置脏标记		void setModified(bool _m=true){ modified=_m; };		// 返回脏标记		bool isModified(){ return modified; };		// 保存更改		bool saveModified();			// 删除文档项目		void deleteContents();		// 初始化文档		bool newDocument();		// 关闭文档		void closeDocument();		// 打开文档		bool openDocument(const KURL& url, const char *data_base_def=0);		// 保存文档		bool saveDocument(const KURL& url, const char *format=0);		// 返回文档路径		const KURL& URL() const;		// 设置文档路径		void setURL(const KURL& url);	private:		// 脏标记		bool modified;		KURL doc_url;};#endif // KOGNITIONDOC_H

⌨️ 快捷键说明

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