Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

inputbox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           inputbox.h  -  description
00003                              -------------------
00004     begin                : Sat Jan 1 2000
00005     copyright            : (C) 2000 by Jurrien Loonstra
00006     email                : j.h.loonstra@st.hanze.nl
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef INPUTBOX_H
00019 #define INPUTBOX_H
00020 
00021 #include <qdialog.h>
00022 #include <qpushbutton.h>
00023 #include <qlabel.h>
00024 
00025 #include <qstring.h>
00026 #include <qlineedit.h>
00027 class InputBox : public QDialog  {
00028    Q_OBJECT
00029 public:
00030         InputBox(QWidget *parent=0, const char *name=0, const char *caption = 0, const char *text=0);
00031         ~InputBox();
00032         QString getText() const;
00033 private:
00034         QPushButton *ok, *cancel;
00035         QLabel *question;
00036         QLineEdit *input;
00037 };
00038 
00039 #endif

Generated on Sat Nov 5 16:17:19 2005 for OPIE by  doxygen 1.4.2