• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

Functions
Dialog_Utils Namespace Reference

Functions

void askNameForWidget (UMLWidget *&targetWidget, const QString &dialogTitle, const QString &dialogPrompt, const QString &defaultName)
 
KLineEdit * makeLabeledEditField (QGroupBox *containingBox, QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
 

Detailed Description

Dialog utilities.

Author
Oliver Kellogg Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or http://bugs.kde.org

Function Documentation

void Dialog_Utils::askNameForWidget ( UMLWidget *&  targetWidget,
const QString &  dialogTitle,
const QString &  dialogPrompt,
const QString &  defaultName 
)

Helper function for requesting a name for an UMLWidget using a dialog.

Parameters
targetWidgetBy-reference pointer to the widget to request the name for. The widget may be deallocated, and the pointer returned set to NULL, if the user presses Cancel in the dialog.
dialogTitleTitle of the dialog.
dialogPromptPrompt of the dialog.
defaultNameDefault value of the name field.

Definition at line 64 of file dialog_utils.cpp.

KLineEdit * Dialog_Utils::makeLabeledEditField ( QGroupBox *  containingBox,
QGridLayout *  layout,
int  row,
QLabel *&  label,
const QString &  labelText,
KLineEdit *&  editField,
const QString &  editFieldText 
)

Create a labeled text lineedit widget.

Parameters
containingBoxThe containing QGroupBox (unused).
layoutThe QGridLayout to use.
rowThe row number within the QGridLayout.
labelThe QLabel object allocated (return value)
labelTextThe label text.
editFieldThe KLineEdit object allocated (return value)
editFieldTextInitialization text in the editField (optional.)
Returns
a pointer to the KLineEdit so you can setFocus() if necessary

Definition at line 43 of file dialog_utils.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal