4 * John Levon, moz@compsoc.man.ac.uk
7 /***************************************************************************
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
14 ***************************************************************************/
16 #ifndef FORMINDEXDIALOG_H
17 #define FORMINDEXDIALOG_H
22 // to connect apply() and hide()
23 #include "FormIndex.h"
29 #include <qlineedit.h>
30 #include <qpushbutton.h>
32 class FormIndexDialog : public QDialog {
35 FormIndexDialog(FormIndex *form, QWidget *parent=0, const char *name=0,
36 bool modal=false, WFlags f=0);
43 QPushButton *buttonOk;
44 QPushButton *buttonCancel;
48 void closeEvent(QCloseEvent *e);
55 QHBoxLayout *topLayout;
57 QHBoxLayout *indexLayout;
58 QHBoxLayout *buttonLayout;
61 /// adaptor to FormIndex::apply
62 void apply_adaptor(void) {
68 /// adaptor to FormIndex::close
69 void close_adaptor(void) {