Subgroup: Style
Class: QgsStyleManagerDialog¶
-
class
qgis.gui.
QgsStyleManagerDialog
(style: QgsStyle, parent: QWidget = None)¶ Bases:
PyQt5.QtWidgets.QDialog
Methods
accept
acceptDrops
accessibleDescription
accessibleName
actionEvent
actions
activateWindow
addAction
addActions
addColorRamp
addColorRamp(self) -> bool addColorRampStatic
open add color ramp dialog, return color ramp’s name if the ramp has been added addFavoriteSelectedSymbols
Add selected symbols to favorites addItem
addSmartgroup
add a smartgroup addSymbol
add a new symbol to style addTag
add a tag adjustSize
autoFillBackground
backgroundRole
baseSize
blockSignals
changeEvent
childAt
childAt(self, int, int) -> QWidget childEvent
children
childrenRect
childrenRegion
clearFocus
clearMask
close
closeEvent
colorCount
connectNotify
contentsMargins
contentsRect
contextMenuEvent
contextMenuPolicy
create
createWindowContainer
currentItemName
currentItemType
cursor
customEvent
deleteLater
depth
destroy
detagSelectedSymbols
Remove all tags from selected symbols devType
devicePixelRatio
devicePixelRatioF
devicePixelRatioFScale
disconnect
disconnectNotify
done
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
editColorRamp
editItem
editSmartgroupAction
edit the selected smart group editSymbol
effectiveWinId
enableGroupInputs
Enables or disables the groupTree specific inputs enableItemsForGroupingMode
Enables or disables the groupTree items for grouping mode enableSymbolInputs
Enables or disbables the symbol specific inputs ensurePolished
enterEvent
event
eventFilter
exec
exec_
exportItems
exportItemsPNG
exportItemsSVG
exportSelectedItemsImages
filterSymbols
filter the symbols based on input search term find
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPolicy
focusPreviousChild
focusProxy
focusWidget
font
fontInfo
fontMetrics
foregroundRole
frameGeometry
frameSize
geometry
getContentsMargins
grab
grabGesture
grabKeyboard
grabMouse
grabMouse(self, Union[QCursor, Qt.CursorShape]) grabShortcut
graphicsEffect
graphicsProxyWidget
groupChanged
groupRenamed
grouptreeContextMenu
Context menu for the groupTree hasFocus
hasHeightForWidth
hasMouseTracking
hasTabletTracking
height
heightForWidth
heightMM
hide
hideEvent
importItems
inherits
initPainter
inputMethodEvent
inputMethodHints
inputMethodQuery
insertAction
insertActions
installEventFilter
isActiveWindow
isAncestorOf
isEnabled
isEnabledTo
isFullScreen
isHidden
isLeftToRight
isMaximized
isMinimized
isModal
isRightToLeft
isSignalConnected
isSizeGripEnabled
isVisible
isVisibleTo
isWidgetType
isWindow
isWindowModified
isWindowType
itemChanged
keyPressEvent
keyReleaseEvent
keyboardGrabber
killTimer
layout
layoutDirection
leaveEvent
listitemsContextMenu
Context menu for the listItems ( symbols list ) locale
logicalDpiX
logicalDpiY
lower
mapFrom
mapFromGlobal
mapFromParent
mapTo
mapToGlobal
mapToParent
mask
maximumHeight
maximumSize
maximumWidth
metaObject
metric
minimumHeight
minimumSize
minimumSizeHint
minimumWidth
mouseDoubleClickEvent
mouseGrabber
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
move
move(self, int, int) moveEvent
moveToThread
nativeEvent
nativeParentWidget
nextInFocusChain
normalGeometry
objectName
onClose
Close the dialog onFinished
called when the dialog is going to be closed open
overrideWindowFlags
overrideWindowState
paintEngine
paintEvent
paintingActive
palette
parent
parentWidget
physicalDpiX
physicalDpiY
populateColorRamps
populate list view with color ramps populateGroups
populate the groups populateList
adds symbols of some type to list populateSymbols
populate list view with symbols of the current type with the given names populateTypes
populate combo box with known style items (symbols, color ramps) pos
previousInFocusChain
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. raise_
receivers
rect
regrouped
symbol changed from one group reject
releaseKeyboard
releaseMouse
releaseShortcut
removeAction
removeColorRamp
removeEventFilter
removeFavoriteSelectedSymbols
Remove selected symbols from favorites removeGroup
remove a tag or smartgroup removeItem
removeSymbol
render
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren)) repaint
repaint(self, int, int, int, int) resize
resize(self, int, int) resizeEvent
restoreGeometry
result
saveGeometry
scroll
scroll(self, int, int, QRect) selectedSymbolsChanged
Perform tasks when the selected symbols change sender
senderSignalIndex
setAcceptDrops
setAccessibleDescription
setAccessibleName
setAttribute
setAutoFillBackground
setBackgroundRole
setBaseSize
setBaseSize(self, QSize) setBold
sets the text of the item with bold font setContentsMargins
setContentsMargins(self, QMargins) setContextMenuPolicy
setCursor
setDisabled
setEnabled
setFixedHeight
setFixedSize
setFixedSize(self, int, int) setFixedWidth
setFocus
setFocus(self, Qt.FocusReason) setFocusPolicy
setFocusProxy
setFont
setForegroundRole
setGeometry
setGeometry(self, int, int, int, int) setGraphicsEffect
setHidden
setInputMethodHints
setLayout
setLayoutDirection
setLocale
setMask
setMask(self, QRegion) setMaximumHeight
setMaximumSize
setMaximumSize(self, QSize) setMaximumWidth
setMinimumHeight
setMinimumSize
setMinimumSize(self, QSize) setMinimumWidth
setModal
setMouseTracking
setObjectName
setPalette
setParent
setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) setProperty
setResult
setShortcutAutoRepeat
setShortcutEnabled
setSizeGripEnabled
setSizeIncrement
setSizeIncrement(self, QSize) setSizePolicy
setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) setStatusTip
setStyle
setStyleSheet
setSymbolsChecked
to set symbols checked when in editing mode setTabOrder
setTabletTracking
setToolTip
setToolTipDuration
setUpdatesEnabled
setVisible
setWhatsThis
setWindowFilePath
setWindowFlag
setWindowFlags
setWindowIcon
setWindowIconText
setWindowModality
setWindowModified
setWindowOpacity
setWindowRole
setWindowState
setWindowTitle
sharedPainter
show
showEvent
showFullScreen
showHelp
Open the associated help showMaximized
showMinimized
showNormal
signalsBlocked
size
sizeHint
sizeIncrement
sizePolicy
stackUnder
startTimer
statusTip
style
styleSheet
symbolSelected
Perform symbol specific tasks when selected tabletEvent
tagSelectedSymbols
Tag selected symbols using menu item selection tagSymbolsAction
carry out symbol tagging using check boxes testAttribute
thread
timerEvent
toolTip
toolTipDuration
tr
underMouse
ungrabGesture
unsetCursor
unsetLayoutDirection
unsetLocale
update
update(self, QRect) updateGeometry
updateMicroFocus
updatesEnabled
visibleRegion
whatsThis
wheelEvent
width
widthMM
winId
window
windowFilePath
windowFlags
windowHandle
windowIcon
windowIconText
windowModality
windowOpacity
windowRole
windowState
windowTitle
windowType
x
y
Attributes
Accepted
DrawChildren
DrawWindowBackground
IgnoreMask
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
Rejected
accepted
accepted(self) [signal] customContextMenuRequested
customContextMenuRequested(self, QPoint) [signal] destroyed
destroyed(self, QObject = None) [signal] finished
finished(self, int) [signal] objectNameChanged
objectNameChanged(self, str) [signal] rejected
rejected(self) [signal] staticMetaObject
windowIconChanged
windowIconChanged(self, QIcon) [signal] windowIconTextChanged
windowIconTextChanged(self, str) [signal] windowTitleChanged
windowTitleChanged(self, str) [signal] -
actionEvent
()¶
-
addColorRamp
(self, action: QAction) → bool¶ addColorRamp(self) -> bool add a new color ramp to style
-
addColorRampStatic
(parent: QWidget, style: QgsStyle, RampType: str = '') → str¶ open add color ramp dialog, return color ramp’s name if the ramp has been added
-
addFavoriteSelectedSymbols
(self)¶ Add selected symbols to favorites
-
addItem
(self)¶
-
addSmartgroup
(self) → int¶ add a smartgroup
-
addSymbol
(self) → bool¶ add a new symbol to style
-
addTag
(self) → int¶ add a tag
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
currentItemName
(self) → str¶
-
currentItemType
(self) → int¶
-
customEvent
()¶
-
destroy
()¶
-
detagSelectedSymbols
(self)¶ Remove all tags from selected symbols
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
editColorRamp
(self) → bool¶
-
editItem
(self)¶
-
editSmartgroupAction
(self)¶ edit the selected smart group
-
editSymbol
(self) → bool¶
-
enableGroupInputs
(self, bool)¶ Enables or disables the groupTree specific inputs
-
enableItemsForGroupingMode
(self, bool)¶ Enables or disables the groupTree items for grouping mode
-
enableSymbolInputs
(self, bool)¶ Enables or disbables the symbol specific inputs
-
enterEvent
()¶
-
event
()¶
-
eventFilter
()¶
-
exportItems
(self)¶
-
exportItemsPNG
(self)¶
-
exportItemsSVG
(self)¶
-
exportSelectedItemsImages
(self, dir: str, format: str, size: QSize)¶
-
filterSymbols
(self, str)¶ filter the symbols based on input search term
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
groupChanged
(self, QModelIndex)¶
-
groupRenamed
(self, QStandardItem)¶
-
grouptreeContextMenu
(self, QPoint)¶ Context menu for the groupTree
-
hideEvent
()¶
-
importItems
(self)¶
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
itemChanged
(self, item: QStandardItem)¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
listitemsContextMenu
(self, QPoint)¶ Context menu for the listItems ( symbols list )
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
onClose
(self)¶ Close the dialog
-
onFinished
(self)¶ called when the dialog is going to be closed
-
paintEvent
()¶
-
populateColorRamps
(self, colorRamps: Iterable[str], checkable: bool = False)¶ populate list view with color ramps
-
populateGroups
(self)¶ populate the groups
-
populateList
(self)¶ adds symbols of some type to list
-
populateSymbols
(self, symbolNames: Iterable[str], checkable: bool = False)¶ populate list view with symbols of the current type with the given names
-
populateTypes
(self)¶ populate combo box with known style items (symbols, color ramps)
-
receivers
()¶
-
regrouped
(self, QStandardItem)¶ symbol changed from one group
-
removeColorRamp
(self) → bool¶
-
removeFavoriteSelectedSymbols
(self)¶ Remove selected symbols from favorites
-
removeGroup
(self)¶ remove a tag or smartgroup
-
removeItem
(self)¶
-
removeSymbol
(self) → bool¶
-
resizeEvent
()¶
-
selectedSymbolsChanged
(self, selected: QItemSelection, deselected: QItemSelection)¶ Perform tasks when the selected symbols change
-
sender
()¶
-
senderSignalIndex
()¶
-
setBold
(self, QStandardItem)¶ sets the text of the item with bold font
-
setSymbolsChecked
(self, Iterable[str])¶ to set symbols checked when in editing mode
-
showEvent
()¶
-
showHelp
(self)¶ Open the associated help
-
symbolSelected
(self, QModelIndex)¶ Perform symbol specific tasks when selected
-
tabletEvent
()¶
-
tagSelectedSymbols
(self, newTag: bool = False)¶ Tag selected symbols using menu item selection
-
tagSymbolsAction
(self)¶ carry out symbol tagging using check boxes
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-