Subgroup: other
Class: QgsGplColorScheme¶
-
class
qgis.core.
QgsGplColorScheme
¶ Bases:
qgis._core.QgsColorScheme
Constructor for QgsGplColorScheme.
QgsGplColorScheme(QgsGplColorScheme)
A color scheme which stores its colors in a gpl palette file.New in version 2.5: Methods
fetchColors
gplFilePath
Returns the file path for the associated gpl palette file setColors
Signals
Attributes
-
fetchColors
(self, context: str = '', baseColor: Union[QColor, Qt.GlobalColor, QGradient] = QColor()) → object¶
-
gplFilePath
(self) → str¶ Returns the file path for the associated gpl palette file
Returns: gpl file path
-
setColors
(self, colors: object, context: str = '', baseColor: Union[QColor, Qt.GlobalColor, QGradient] = QColor()) → bool¶
-