findwindow.h
author jhilmer
Sun Jul 31 12:24:53 2005 +0000 (2005-07-31)
changeset 142 3590c3490789
child 2 608f976aa7bb
child 168 8814a667241a
permissions -rw-r--r--
Added superscript and subscript in text editor
     1 #ifndef FINDWINDOW_H 
     2 #define FINDWINDOW_H
     3 
     4 #include <qmainwindow.h>
     5 #include <qcombobox.h>
     6 #include <qpushbutton.h>
     7 #include <qgroupbox.h>
     8 #include <qlayout.h>
     9 #include <qlabel.h>
    10 
    11 
    12 class FindWindow : public QGroupBox
    13 {
    14 	Q_OBJECT
    15 
    16 public:
    17 	FindWindow (QWidget* parent=0, const char* namme=0, WFlags f=0);
    18 
    19 public slots:	
    20 	void popup();
    21 	void cancelPressed();
    22 	void findPressed();
    23 	void findTextChanged(const QString&);
    24 
    25 signals:
    26 	void findButton(QString);		// emit to mainwindow
    27 	void somethingChanged();	// emit to mainwindow
    28 
    29 private:
    30 	QGroupBox *findbox;
    31 	QComboBox *findcombo;
    32 	QPushButton *clearbutton;
    33 	QPushButton *findbutton;
    34 	QPushButton *cancelbutton;
    35 };
    36 
    37 
    38 #endif