umbrello API Documentation

dialog_utils.h

00001 /***************************************************************************
00002  *                                                                         *
00003  *   This program is free software; you can redistribute it and/or modify  *
00004  *   it under the terms of the GNU General Public License as published by  *
00005  *   the Free Software Foundation; either version 2 of the License, or     *
00006  *   (at your option) any later version.                                   *
00007  *                                                                         *
00008  *   copyright (C) 2004-2006                                               *
00009  *   Umbrello UML Modeller Authors <uml-devel@uml.sf.net>                  *
00010  ***************************************************************************/
00011 
00012 #ifndef DIALOG_UTILS_H
00013 #define DIALOG_UTILS_H
00014 
00015 #include <qstring.h>
00016 
00017 class QGroupBox;
00018 class QGridLayout;
00019 class QLabel;
00020 class QLineEdit;
00021 class UMLWidget;
00022 
00028 namespace Dialog_Utils {
00029 
00042 QLineEdit* makeLabeledEditField(QGroupBox *containingBox, QGridLayout *layout, int row,
00043                                 QLabel * &label, const QString& labelText,
00044                                 QLineEdit * &editField,
00045                                 const QString& editFieldText = QString::null);
00046 
00057 void askNameForWidget(UMLWidget * &targetWidget, const QString& dialogTitle,
00058                       const QString& dialogPrompt, const QString& defaultName);
00059 
00060 }
00061 
00062 #endif
00063 
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:56 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003