findwindow.h
author insilmaril
Tue, 10 Mar 2009 12:46:48 +0000
branchrelease-1-12-maintained
changeset 60 50c2fb829193
parent 0 7a96bd401351
child 2 608f976aa7bb
child 168 8814a667241a
permissions -rw-r--r--
Bugfix: Don't check for changes if file, if map was closed already
     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