author | insilmaril |
Thu Mar 19 11:48:33 2009 +0000 (2009-03-19) | |
branch | release-1-12-maintained |
changeset 62 | 85683324f94a |
child 2 | 608f976aa7bb |
child 168 | 8814a667241a |
permissions | -rw-r--r-- |
insilmaril@0 | 1 |
#ifndef FINDWINDOW_H |
insilmaril@0 | 2 |
#define FINDWINDOW_H |
insilmaril@0 | 3 |
|
insilmaril@0 | 4 |
#include <qmainwindow.h> |
insilmaril@0 | 5 |
#include <qcombobox.h> |
insilmaril@0 | 6 |
#include <qpushbutton.h> |
insilmaril@0 | 7 |
#include <qgroupbox.h> |
insilmaril@0 | 8 |
#include <qlayout.h> |
insilmaril@0 | 9 |
#include <qlabel.h> |
insilmaril@0 | 10 |
|
insilmaril@0 | 11 |
|
insilmaril@0 | 12 |
class FindWindow : public QGroupBox |
insilmaril@0 | 13 |
{ |
insilmaril@0 | 14 |
Q_OBJECT |
insilmaril@0 | 15 |
|
insilmaril@0 | 16 |
public: |
insilmaril@0 | 17 |
FindWindow (QWidget* parent=0, const char* namme=0, WFlags f=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@0 | 24 |
|
insilmaril@0 | 25 |
signals: |
insilmaril@0 | 26 |
void findButton(QString); // emit to mainwindow |
insilmaril@0 | 27 |
void somethingChanged(); // emit to mainwindow |
insilmaril@0 | 28 |
|
insilmaril@0 | 29 |
private: |
insilmaril@0 | 30 |
QGroupBox *findbox; |
insilmaril@0 | 31 |
QComboBox *findcombo; |
insilmaril@0 | 32 |
QPushButton *clearbutton; |
insilmaril@0 | 33 |
QPushButton *findbutton; |
insilmaril@0 | 34 |
QPushButton *cancelbutton; |
insilmaril@0 | 35 |
}; |
insilmaril@0 | 36 |
|
insilmaril@0 | 37 |
|
insilmaril@0 | 38 |
#endif |