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

inputdialog.h

Go to the documentation of this file.
00001 /*
00002 Opie-sh.  convinience app to allow you to use qdialogs in scripts (mainly shell scripts)
00003 Copyright (C) 2002 Thomas Stephens
00004 
00005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
00006 License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
00007 version.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
00010 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
00011 Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
00014 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00015 */
00016 
00017 #include <qdialog.h>
00018 #include <qstring.h>
00019 #include <qlineedit.h>
00020 #include <qlayout.h>
00021 #include <qlabel.h>
00022 #include <qcombobox.h>
00023 #include <qfile.h>
00024 #include <qtextstream.h>
00025 #include <qlistbox.h>
00026 
00027 class InputDialog : public QDialog
00028 {
00029         Q_OBJECT
00030 public:
00031         InputDialog(int w, int h, int newtype, QString labelString, QString title, QString filename, bool edit, QWidget *parent=0, const char *name=0, bool modal=true, WFlags f=0);
00032         QString getString();
00033 private:
00034         int type;
00035         QLineEdit *lineEdit;
00036         QComboBox *comboBox;
00037         QListBox *listBox;
00038 };

Generated on Sat Nov 5 16:18:01 2005 for OPIE by  doxygen 1.4.2