File: findGlobalDialog.h

package info (click to toggle)
texstudio 2.3%2Bdebian-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 20,992 kB
  • sloc: cpp: 61,734; ansic: 4,300; xml: 726; sh: 125; makefile: 25
file content (41 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef FINDGLOBALDIALOG_H
#define FINDGLOBALDIALOG_H

#include <QtGui/QDialog>

namespace Ui {
    class findGlobalDialog;
}

class findGlobalDialog : public QDialog {
    Q_OBJECT
public:
	enum SearchScope
	{
			Local		= 0,
			OpenedFiles		= 1,
	};

    findGlobalDialog(QWidget *parent = 0);
    ~findGlobalDialog();

	void setSearchWord(QString word);
	QString getSearchWord();
	bool isWords();
	bool isCase();
	bool isRegExp();
	int getSearchScope();

private slots:
	void on_cbWords_toggled(bool state);
	void on_cbRegExp_toggled(bool state);


protected:
    void changeEvent(QEvent *e);

private:
    Ui::findGlobalDialog *m_ui;
};

#endif // FINDGLOBALDIALOG_H