1109:9552b5e16a07 | 1112:8a7d1b9d18db |
---|---|
5 | 5 |
6 """ | 6 """ |
7 Module implementing a package item. | 7 Module implementing a package item. |
8 """ | 8 """ |
9 | 9 |
10 from PyQt4.QtCore import * | 10 from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle |
11 from PyQt4.QtGui import * | |
12 | 11 |
13 from .UMLItem import UMLItem | 12 from .UMLItem import UMLItem |
14 | 13 |
15 | 14 |
16 class PackageModel(object): | 15 class PackageModel(object): |
31 """ | 30 """ |
32 Method to add a module to the package model. | 31 Method to add a module to the package model. |
33 | 32 |
34 @param modulename module name to be added (string) | 33 @param modulename module name to be added (string) |
35 """ | 34 """ |
36 self.moduleslist.append(classname) | 35 self.moduleslist.append(modulename) |
37 | 36 |
38 def getModules(self): | 37 def getModules(self): |
39 """ | 38 """ |
40 Method to retrieve the modules of the package. | 39 Method to retrieve the modules of the package. |
41 | 40 |