finddialog.h
来自「Bookcase 是一个用于KDE的个人的书籍管理。它使用XML文件存储格式」· C头文件 代码 · 共 79 行
H
79 行
/*************************************************************************** finddialog.h ------------------- begin : Wed Feb 27 2002 copyright : (C) 2002 by Robby Stephenson email : robby@periapsis.org ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of version 2 of the GNU General Public License as * * published by the Free Software Foundation; * * * ***************************************************************************/#ifndef FINDDIALOG_H#define FINDDIALOG_Hclass Bookcase;class KComboBox;class KHistoryCombo;class QCheckBox;#include <kdialogbase.h>/** * The find dialog allows the user to search for a string in the document. * * @author Robby Stephenson * @version $Id: finddialog.h,v 1.4 2003/03/08 18:24:47 robby Exp $ */class FindDialog : public KDialogBase {Q_OBJECTpublic: /** * The constructor sets up the dialog. * * @param parent A pointer to the parent widget, a Bookcase object * @param name The widget name */ FindDialog(Bookcase* parent, const char* name=0);public slots: /** * Find the next match */ void slotFindNext();protected slots: /** * Called when the Find button is clicked. */ void slotUser1(); /** * Called when the search pattern changes * * @param text The text in the pattern */ void slotPatternChanged(const QString& text); void showEvent(QShowEvent* e);private: Bookcase* m_bookcase; KHistoryCombo* m_pattern; KComboBox* m_attributes; QCheckBox* m_caseSensitive; QCheckBox* m_findBackwards; QCheckBox* m_asRegExp; QCheckBox* m_wholeWords; QCheckBox* m_fromBeginning;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?