MCPcopy Index your code
hub / github.com/PyQt5/PyQt / createThemeBox

Method createThemeBox

QtChart/ChartThemes.py:150–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 return dataTable
149
150 def createThemeBox(self):
151 themeComboBox = QComboBox()
152
153 themeComboBox.addItem("Light", QChart.ChartThemeLight)
154 themeComboBox.addItem("Blue Cerulean", QChart.ChartThemeBlueCerulean)
155 themeComboBox.addItem("Dark", QChart.ChartThemeDark)
156 themeComboBox.addItem("Brown Sand", QChart.ChartThemeBrownSand)
157 themeComboBox.addItem("Blue NCS", QChart.ChartThemeBlueNcs)
158 themeComboBox.addItem("High Contrast", QChart.ChartThemeHighContrast)
159 themeComboBox.addItem("Blue Icy", QChart.ChartThemeBlueIcy)
160
161 return themeComboBox
162
163 def createAnimationBox(self):
164 animationComboBox = QComboBox()

Callers 1

__init__Method · 0.95

Calls 1

addItemMethod · 0.45

Tested by

no test coverage detected