Bug 120761 - changing font style has no effect on classes
Summary: changing font style has no effect on classes
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-25 06:26 UTC by Alan Ezust
Modified: 2006-02-12 00:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Ezust 2006-01-25 06:26:20 UTC
Version:           1.5.1 (using KDE 3.5.0, Debian Package 4:3.5.0-3 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.11-kanotix-11

If you right-click on a class and either
go to properties->font or just change font,
try to change the style to italics (or any other style).
Apply. No change occurs.
Comment 1 Oliver Kellogg 2006-01-26 06:49:43 UTC
Can we change this PR to a wish, "Remove option for changing font style"?
The problem is that Umbrello explicitly sets the style, for example
abstract methods are italicized.
Comment 2 Alan Ezust 2006-01-28 03:58:52 UTC
In that case, we need abstract classes (interfaces) to be italicized too - that's actually why I was trying to make it italics in the first place.
Comment 3 Oliver Kellogg 2006-02-12 00:24:42 UTC
SVN commit 508509 by okellogg:

setInterface(): Set the UMLObject::m_bAbstract flag.
BUG:120761


 M  +2 -0      ChangeLog  
 M  +1 -0      umbrello/classifier.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #508508:508509
@@ -8,6 +8,8 @@
 * Multiplicity labels positioned incorrectly when moving entities (120598)
 * Types of entity's attributes are displayed instead of their names (120742)
 * Unable to delete entity from entity list in "UML Model" frame (120750)
+* Unable to delete entity from entity list in "UML Model" frame (120750)
+* Changing font style has no effect on classes (120761)
 * Cannot Resize Sequence Diagram Synchronous Messages (120910)
 
 Version 1.5.1
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classifier.cpp #508508:508509
@@ -57,6 +57,7 @@
     if (b) {
         m_BaseType = ot_Interface;
         UMLObject::setStereotype("interface");
+        UMLObject::m_bAbstract = true;
         newIcon = UMLListView::it_Interface;
     } else {
         m_BaseType = ot_Class;