browser.h

来自「qtopia的源程序,一种嵌入式图形操作系统」· C头文件 代码 · 共 48 行

H
48
字号
/******************************************************************************** Copyright (C) 1992-$THISYEAR$ Trolltech AS. All rights reserved.**** This file is part of the $MODULE$ of the Qt Toolkit.**** $LICENSE$**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************/#ifndef BROWSER_H#define BROWSER_H#include <QObject>#include <QEvent>class Editor;class Q3TextCursor;class Q3TextParagraph;class Q3TextFormat;class EditorBrowser : public QObject{    Q_OBJECTpublic:    EditorBrowser(Editor *e);    ~EditorBrowser();    bool eventFilter(QObject *o, QEvent *e);    virtual void setCurrentEdior(Editor *e);    virtual void addEditor(Editor *e);    virtual bool findCursor(const Q3TextCursor &c, Q3TextCursor &from, Q3TextCursor &to);    virtual void showHelp(const QString &) {}protected:    Editor *curEditor;    Q3TextParagraph *oldHighlightedParag;    QString lastWord;    Q3TextFormat *highlightedFormat;};#endif

⌨️ 快捷键说明

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