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

📄 finddialog.h

📁 跨平台,多数据库查看编辑和查询工具,平台支持windows,linux,数据库支持oracle,odbc,mysql,slite等
💻 H
字号:


#ifndef FINDDIALOG_H
#define FINDDIALOG_H

#include <QtGui>
#include <QtSql>
#include "tableview.h"

class QTableView;
class QSqlTableMode;

class FindDialog : public QDialog
{
    Q_OBJECT

public:
    FindDialog(QWidget *parent = 0);
    void setReplaceMode();
    void setFindMode();
    QPushButton *findButton;
    QPushButton *findNextButton;

private slots:
	  void findAll();
	  void findNext();
	  bool findNext(QString strFind);
private:
    void showEvent ( QShowEvent * event );
    QLabel *label,*labelFind;
    QLineEdit *lineEdit,*lineEditReplace;
    QCheckBox *caseCheckBox;
    QCheckBox *fromStartCheckBox;
    QCheckBox *wholeWordsCheckBox;
    QCheckBox *searchSelectionCheckBox;
    QCheckBox *backwardCheckBox;
    QDialogButtonBox *buttonBox;
    QPushButton *moreButton;
    QWidget *extension;
    bool bReplace;
    
    QTableView * tableView;
    QSqlQueryModel *model;
    int row;
    int column;
    QString preStr;
    
};

#endif

⌨️ 快捷键说明

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