()
| 941 | #make a singleton and a function to access it |
| 942 | _styles = None |
| 943 | def getStyles(): |
| 944 | global _styles |
| 945 | if not _styles: |
| 946 | _styles = getSampleStyleSheet() |
| 947 | return _styles |
| 948 | |
| 949 | |
| 950 | def setStyles(newStyleSheet): |
no test coverage detected