findwindow.h
author insilmaril
Wed, 25 Apr 2007 16:02:54 +0000
changeset 463 694f5e35e87c
parent 371 ebefeea77f2f
child 807 f9f7922989d8
permissions -rw-r--r--
started doxygen documentation
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