findwindow.h
author insilmaril
Sat Mar 31 09:28:27 2007 +0000 (2007-03-31)
changeset 440 c6a8651e6bbc
parent 364 7b74fa3772bf
child 807 f9f7922989d8
permissions -rw-r--r--
1.8.70 Fixes in property window
insilmaril@0
     1
#ifndef FINDWINDOW_H 
insilmaril@0
     2
#define FINDWINDOW_H
insilmaril@0
     3
insilmaril@371
     4
#include <QMainWindow>
insilmaril@371
     5
#include <QComboBox>
insilmaril@371
     6
#include <QPushButton>
insilmaril@371
     7
#include <QGroupBox>
insilmaril@371
     8
#include <QLayout>
insilmaril@371
     9
#include <QLabel>
insilmaril@0
    10
insilmaril@0
    11
insilmaril@371
    12
class FindWindow : public QGroupBox
insilmaril@0
    13
{
insilmaril@0
    14
	Q_OBJECT
insilmaril@0
    15
insilmaril@0
    16
public:
insilmaril@371
    17
	FindWindow (QWidget* parent=0);
insilmaril@0
    18
insilmaril@0
    19
public slots:	
insilmaril@0
    20
	void popup();
insilmaril@0
    21
	void cancelPressed();
insilmaril@0
    22
	void findPressed();
insilmaril@0
    23
	void findTextChanged(const QString&);
insilmaril@371
    24
	void clearLineEdit();
insilmaril@0
    25
insilmaril@0
    26
signals:
insilmaril@0
    27
	void findButton(QString);		// emit to mainwindow
insilmaril@0
    28
	void somethingChanged();	// emit to mainwindow
insilmaril@0
    29
insilmaril@0
    30
private:
insilmaril@371
    31
	QGroupBox *findbox;
insilmaril@0
    32
	QComboBox *findcombo;
insilmaril@0
    33
	QPushButton *clearbutton;
insilmaril@0
    34
	QPushButton *findbutton;
insilmaril@0
    35
	QPushButton *cancelbutton;
insilmaril@0
    36
};
insilmaril@0
    37
insilmaril@0
    38
insilmaril@0
    39
#endif