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

inputbox.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           inputbox.cpp  -  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 #include "inputbox.h"
00019 InputBox::InputBox(QWidget *parent, const char *name, const char *, const char *) : QDialog(parent, name, TRUE) {
00020 //      setCaption(caption);
00021 //
00022 //      question = new QLabel(this);
00023 //      question->setText(text);
00024 //      question->setGeometry(10, 10, 240, 50);
00025 //
00026 //      input = new QLineEdit(this);
00027 //   input->setGeometry(10, 60, 240, 30);
00028 //      input->setFocus();
00029 //      input->setMaxLength(19);
00030 //
00031 //   ok = new QPushButton( "Ok", this );
00032 //   ok->setGeometry(10, 100, 100,30 );
00033 //      ok->setDefault(TRUE);
00034 //   connect( ok, SIGNAL(clicked()), SLOT(accept()) );
00035 //
00036 //   cancel = new QPushButton( "Cancel", this );
00037 //   cancel->setGeometry(150, 100, 100,30 );
00038 //   connect( cancel, SIGNAL(clicked()), SLOT(reject()) );
00039 }
00040 
00041 InputBox::~InputBox(){
00042         delete ok;
00043         delete cancel;
00044         delete question;
00045         delete input;
00046 }
00047 
00048 QString InputBox::getText() const{
00049         return input->text();
00050 }

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