|
umbrello
2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Functions | |
| KLineEdit * | makeLabeledEditField (QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText, int columnOffset) |
| void | askNameForWidget (UMLWidget *&targetWidget, const QString &dialogTitle, const QString &dialogPrompt, const QString &defaultName) |
| bool | askName (const QString &title, const QString &prompt, QString &name) |
| bool | askDeleteAssociation () |
| bool | askDeleteDiagram (const QString &name) |
| bool | askNewName (WidgetBase::WidgetType type, QString &name) |
| bool | askRenameName (WidgetBase::WidgetType type, QString &name) |
| bool | askDefaultNewName (WidgetBase::WidgetType type, QString &name) |
| bool | askNewName (UMLObject::ObjectType type, QString &name) |
| bool | askRenameName (UMLObject::ObjectType type, QString &name) |
| bool | askDefaultNewName (UMLObject::ObjectType type, QString &name) |
| void | insertStereotypesSorted (KComboBox *kcb, const QString &type) |
Dialog utilities.
| bool Dialog_Utils::askDefaultNewName | ( | UMLObject::ObjectType | type, |
| QString & | name | ||
| ) |
Ask the user for a default new widget name
The name is predefined by the widgets type default name
| bool Dialog_Utils::askDefaultNewName | ( | WidgetBase::WidgetType | type, |
| QString & | name | ||
| ) |
Ask the user for a default new widget name
The name is predefined by the widgets type default name
| bool Dialog_Utils::askDeleteAssociation | ( | ) |
Ask the user for permission to delete an association.
| bool Dialog_Utils::askDeleteDiagram | ( | const QString & | name | ) |
Ask the user for permission to delete a diagram.
| bool Dialog_Utils::askName | ( | const QString & | title, |
| const QString & | prompt, | ||
| QString & | name | ||
| ) |
Helper function for requesting a name using a dialog.
| title | Title of the dialog. |
| prompt | Prompt of the dialog. |
| name | Default value of the name field. |
| void Dialog_Utils::askNameForWidget | ( | UMLWidget *& | targetWidget, |
| const QString & | dialogTitle, | ||
| const QString & | dialogPrompt, | ||
| const QString & | defaultName | ||
| ) |
Helper function for requesting a name for a UMLWidget using a dialog.
| targetWidget | By-reference pointer to the widget to request the name for. The widget may be deallocated, and the pointer returned set to 0, if the user presses Cancel in the dialog. |
| dialogTitle | Title of the dialog. |
| dialogPrompt | Prompt of the dialog. |
| defaultName | Default value of the name field. |
| bool Dialog_Utils::askNewName | ( | UMLObject::ObjectType | type, |
| QString & | name | ||
| ) |
Ask the user for a new object name
| bool Dialog_Utils::askNewName | ( | WidgetBase::WidgetType | type, |
| QString & | name | ||
| ) |
Ask the user for a new widget name
| bool Dialog_Utils::askRenameName | ( | UMLObject::ObjectType | type, |
| QString & | name | ||
| ) |
Ask the user for renaming a widget name
| bool Dialog_Utils::askRenameName | ( | WidgetBase::WidgetType | type, |
| QString & | name | ||
| ) |
Ask the user for renaming a widget name
| void Dialog_Utils::insertStereotypesSorted | ( | KComboBox * | kcb, |
| const QString & | type | ||
| ) |
Helper function for inserting available stereotypes into a KComboBox
| kcb | The KComboBox into which to insert the stereotypes |
| type | The stereotype to activate |
| KLineEdit * Dialog_Utils::makeLabeledEditField | ( | QGridLayout * | layout, |
| int | row, | ||
| QLabel *& | label, | ||
| const QString & | labelText, | ||
| KLineEdit *& | editField, | ||
| const QString & | editFieldText, | ||
| int | columnOffset | ||
| ) |
Create a labeled text lineedit widget.
| layout | The QGridLayout to use. |
| row | The row number within the QGridLayout. |
| label | The QLabel object allocated (return value) |
| labelText | The label text. |
| editField | The KLineEdit object allocated (return value) |
| editFieldText | Initialization text in the editField (optional.) |