findwindow.h
author insilmaril
Sun Jun 08 19:26:07 2008 +0000 (2008-06-08)
changeset 711 d6376f767d27
parent 364 7b74fa3772bf
child 807 f9f7922989d8
permissions -rw-r--r--
Bugfix: vym cannot load maps saved with Qt 4.4
     1 #ifndef FINDWINDOW_H 
     2 #define FINDWINDOW_H
     3 
     4 #include <QMainWindow>
     5 #include <QComboBox>
     6 #include <QPushButton>
     7 #include <QGroupBox>
     8 #include <QLayout>
     9 #include <QLabel>
    10 
    11 
    12 class FindWindow : public QGroupBox
    13 {
    14 	Q_OBJECT
    15 
    16 public:
    17 	FindWindow (QWidget* parent=0);
    18 
    19 public slots:	
    20 	void popup();
    21 	void cancelPressed();
    22 	void findPressed();
    23 	void findTextChanged(const QString&);
    24 	void clearLineEdit();
    25 
    26 signals:
    27 	void findButton(QString);		// emit to mainwindow
    28 	void somethingChanged();	// emit to mainwindow
    29 
    30 private:
    31 	QGroupBox *findbox;
    32 	QComboBox *findcombo;
    33 	QPushButton *clearbutton;
    34 	QPushButton *findbutton;
    35 	QPushButton *cancelbutton;
    36 };
    37 
    38 
    39 #endif