findwindow.h
changeset 82 920e6ed5889b
parent 0 7a96bd401351
child 2 608f976aa7bb
child 168 8814a667241a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/findwindow.h	Sun Jan 30 12:59:10 2005 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +#ifndef FINDWINDOW_H 
     1.5 +#define FINDWINDOW_H
     1.6 +
     1.7 +#include <qmainwindow.h>
     1.8 +#include <qcombobox.h>
     1.9 +#include <qpushbutton.h>
    1.10 +#include <qgroupbox.h>
    1.11 +#include <qlayout.h>
    1.12 +#include <qlabel.h>
    1.13 +
    1.14 +
    1.15 +class FindWindow : public QGroupBox
    1.16 +{
    1.17 +	Q_OBJECT
    1.18 +
    1.19 +public:
    1.20 +	FindWindow (QWidget* parent=0, const char* namme=0, WFlags f=0);
    1.21 +
    1.22 +public slots:	
    1.23 +	void popup();
    1.24 +	void cancelPressed();
    1.25 +	void findPressed();
    1.26 +	void findTextChanged(const QString&);
    1.27 +
    1.28 +signals:
    1.29 +	void findButton(QString);		// emit to mainwindow
    1.30 +	void somethingChanged();	// emit to mainwindow
    1.31 +
    1.32 +private:
    1.33 +	QGroupBox *findbox;
    1.34 +	QComboBox *findcombo;
    1.35 +	QPushButton *clearbutton;
    1.36 +	QPushButton *findbutton;
    1.37 +	QPushButton *cancelbutton;
    1.38 +};
    1.39 +
    1.40 +
    1.41 +#endif