(self, types, option, size, widget)
| 16 | class TabBarStyle(QProxyStyle): |
| 17 | |
| 18 | def sizeFromContents(self, types, option, size, widget): |
| 19 | size = super(TabBarStyle, self).sizeFromContents( |
| 20 | types, option, size, widget) |
| 21 | if types == self.CT_TabBarTab: |
| 22 | size.transpose() |
| 23 | return size |
| 24 | |
| 25 | def drawControl(self, element, option, painter, widget): |
| 26 | if element == self.CE_TabBarTabLabel: |
nothing calls this directly
no outgoing calls
no test coverage detected