PythonQt.QtGui.QStyleFactory · declarations 001
Back to PythonQt.QtGui.QStyleFactory
create
create(arg__1: str) -> Any
X.create(arg__1) -> PythonQt.QtGui.QStyle
Supplemental documentation: Qt 5 reference:
[static] QStyle *QStyleFactory::create(const QString \&key)
Creates and returns a QStyle object
that matches the given key, or returns nullptr if no matching style is found.
Both built-in styles and styles from style plugins are queried for a matching style.
Note: The keys used are case insensitive.
See also keys().
Upstream PySide2 reference signatures (binding differences may apply):
create(arg__1: str) -> PySide2.QtWidgets.QStyle
Source: https://doc.qt.io/archives/qt-5.15/qstylefactory.html#create
keys
keys() -> tuple
X.keys() -> tuple
Supplemental documentation: Qt 5 reference:
[static] QStringList QStyleFactory::keys()
Returns the list of valid keys, i.e. the keys this factory can create styles for.
See also create().
Upstream PySide2 reference signatures (binding differences may apply):
keys() -> typing.List[str]
Source: https://doc.qt.io/archives/qt-5.15/qstylefactory.html#keys