finddialog.h

来自「qt-x11-free-3.0.3.tar.gz minigui图形界面工具」· C头文件 代码 · 共 52 行

H
52
字号
/************************************************************************   Copyright (C) 2000 Trolltech AS.  All rights reserved.****   finddialog.h****   This file is part of Qt Linguist.****   See the file LICENSE included in the distribution for the usage**   and distribution terms.****   The file is provided AS IS with NO WARRANTY OF ANY KIND,**   INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR**   A PARTICULAR PURPOSE.************************************************************************/#ifndef FINDDIALOG_H#define FINDDIALOG_H#include <qdialog.h>class QCheckBox;class QLineEdit;class FindDialog : public QDialog{    Q_OBJECTpublic:    enum { SourceText = 0x1, Translations = 0x2, Comments = 0x4 };    FindDialog( bool replace, QWidget *parent = 0, const char *name = 0, bool modal = FALSE );signals:    void findNext( const QString& text, int where, bool matchCase );    void replace( const QString& before, const QString& after, bool matchCase, bool all );private slots:    void emitFindNext();    void emitReplace();    void emitReplaceAll();private:    QLineEdit *led;    QLineEdit *red;    QCheckBox *sourceText;    QCheckBox *translations;    QCheckBox *comments;    QCheckBox *matchCase;};#endif

⌨️ 快捷键说明

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