finddialog.h
来自「跨平台,多数据库查看编辑和查询工具,平台支持windows,linux,数据库支」· C头文件 代码 · 共 51 行
H
51 行
#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 + =
减小字号Ctrl + -
显示快捷键?