findwindow.h
author insilmaril
Tue Mar 06 19:37:39 2007 +0000 (2007-03-06)
changeset 434 c585be63ec69
parent 364 7b74fa3772bf
child 807 f9f7922989d8
permissions -rw-r--r--
1.8.69 Some more scripting functionality (for testing)
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