Changeset View
Changeset View
Standalone View
Standalone View
umbrello/umlwidgets/datatypewidget.cpp
Context not available. | |||||
20 | #include "umlscene.h" | 20 | #include "umlscene.h" | ||
---|---|---|---|---|---|
21 | #include "umlview.h" | 21 | #include "umlview.h" | ||
22 | 22 | | |||
23 | // kde includes | ||||
24 | #include <KLocalizedString> | ||||
25 | | ||||
23 | // qt includes | 26 | // qt includes | ||
24 | #include <QPainter> | 27 | #include <QPainter> | ||
25 | 28 | | |||
Context not available. | |||||
31 | * @param scene The parent of this DatatypeWidget. | 34 | * @param scene The parent of this DatatypeWidget. | ||
32 | * @param d The UMLClassifier this will be representing. | 35 | * @param d The UMLClassifier this will be representing. | ||
33 | */ | 36 | */ | ||
34 | DatatypeWidget::DatatypeWidget(UMLScene *scene, UMLClassifier *d) | 37 | DatatypeWidget::DatatypeWidget(UMLScene *scene, UMLClassifier *d) | ||
35 | : UMLWidget(scene, WidgetBase::wt_Datatype, d) | 38 | : UMLWidget(scene, WidgetBase::wt_Datatype, d) | ||
36 | { | 39 | { | ||
37 | setSize(100, 30); | 40 | setSize(100, 30); | ||
41 | | ||||
42 | setToolTip(i18n("<b>Data Type</b>" | ||||
43 | "<p>A data type is an abstraction in the " | ||||
44 | "context of a programming language. A " | ||||
45 | "data type has a unique name that " | ||||
46 | "distinguishes it from other data " | ||||
47 | "types.</p>")); | ||||
38 | } | 48 | } | ||
39 | 49 | | |||
40 | /** | 50 | /** | ||
Context not available. |