forked from qt-creator/qt-creator
		
	This was proposed by Kavindra and actually it is probably simpler for newbies. The documentation already talks about this style, so use it.
		
			
				
	
	
		
			27 lines
		
	
	
		
			386 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			386 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef FINDDIALOG_H
 | 
						|
#define FINDDIALOG_H
 | 
						|
 | 
						|
#include <QDialog>
 | 
						|
#include <QLineEdit>
 | 
						|
#include <QPushButton>
 | 
						|
 | 
						|
namespace Ui {
 | 
						|
    class FindDialog;
 | 
						|
}
 | 
						|
 | 
						|
class FindDialog : public QDialog {
 | 
						|
    Q_OBJECT
 | 
						|
public:
 | 
						|
    FindDialog(QWidget *parent = 0);
 | 
						|
    ~FindDialog();
 | 
						|
    QString findText();
 | 
						|
 | 
						|
public slots:
 | 
						|
    void findClicked();
 | 
						|
 | 
						|
private:
 | 
						|
    Ui::FindDialog *m_ui;
 | 
						|
};
 | 
						|
 | 
						|
#endif // FINDDIALOG_H
 |