Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QSettings »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QSettings

Définition

class QSettings(QObject):

Description [extrait de QSettings.__doc__]

QSettings(self, fileName: str, format: PySide6.QtCore.QSettings.Format, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSettings(self, format: PySide6.QtCore.QSettings.Format, scope: PySide6.QtCore.QSettings.Scope, organization: str, application: str = '', parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSettings(self, organization: str, application: str = '', parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSettings(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSettings(self, scope: PySide6.QtCore.QSettings.Scope, organization: str, application: str = '', parent: Optional[PySide6.QtCore.QObject] = None) -> None
QSettings(self, scope: PySide6.QtCore.QSettings.Scope, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AccessErrorPySide6.QtCore.QSettings.Status.AccessError
CustomFormat1PySide6.QtCore.QSettings.Format.CustomFormat1
CustomFormat10PySide6.QtCore.QSettings.Format.CustomFormat10
CustomFormat11PySide6.QtCore.QSettings.Format.CustomFormat11
CustomFormat12PySide6.QtCore.QSettings.Format.CustomFormat12
CustomFormat13PySide6.QtCore.QSettings.Format.CustomFormat13
CustomFormat14PySide6.QtCore.QSettings.Format.CustomFormat14
CustomFormat15PySide6.QtCore.QSettings.Format.CustomFormat15
CustomFormat16PySide6.QtCore.QSettings.Format.CustomFormat16
CustomFormat2PySide6.QtCore.QSettings.Format.CustomFormat2
CustomFormat3PySide6.QtCore.QSettings.Format.CustomFormat3
CustomFormat4PySide6.QtCore.QSettings.Format.CustomFormat4
CustomFormat5PySide6.QtCore.QSettings.Format.CustomFormat5
CustomFormat6PySide6.QtCore.QSettings.Format.CustomFormat6
CustomFormat7PySide6.QtCore.QSettings.Format.CustomFormat7
CustomFormat8PySide6.QtCore.QSettings.Format.CustomFormat8
CustomFormat9PySide6.QtCore.QSettings.Format.CustomFormat9
FormatErrorPySide6.QtCore.QSettings.Status.FormatError
IniFormatPySide6.QtCore.QSettings.Format.IniFormat
InvalidFormatPySide6.QtCore.QSettings.Format.InvalidFormat
NativeFormatPySide6.QtCore.QSettings.Format.NativeFormat
NoErrorPySide6.QtCore.QSettings.Status.NoError
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf17180>
SystemScopePySide6.QtCore.QSettings.Scope.SystemScope
UserScopePySide6.QtCore.QSettings.Scope.UserScope

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
allKeys(self) -> List[str] allKeys(self) -> List[str] [extrait de allKeys.__doc__]
applicationName(self) -> str applicationName(self) -> str [extrait de applicationName.__doc__]
beginGroup(self, prefix: str) -> None beginGroup(self, prefix: str) -> None [extrait de beginGroup.__doc__]
beginReadArray(self, prefix: str) -> int beginReadArray(self, prefix: str) -> int [extrait de beginReadArray.__doc__]
beginWriteArray(self, prefix: str, size: int = -1) -> None beginWriteArray(self, prefix: str, size: int = -1) -> None [extrait de beginWriteArray.__doc__]
childGroups(self) -> List[str] childGroups(self) -> List[str] [extrait de childGroups.__doc__]
childKeys(self) -> List[str] childKeys(self) -> List[str] [extrait de childKeys.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
contains(self, key: str) -> bool contains(self, key: str) -> bool [extrait de contains.__doc__]
defaultFormat() -> PySide6.QtCore.QSettings.Format defaultFormat() -> PySide6.QtCore.QSettings.Format [extrait de defaultFormat.__doc__]
destroyed
endArray(self) -> None endArray(self) -> None [extrait de endArray.__doc__]
endGroup(self) -> None endGroup(self) -> None [extrait de endGroup.__doc__]
event(self, event: PySide6.QtCore.QEvent) -> bool event(self, event: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
fallbacksEnabled(self) -> bool fallbacksEnabled(self) -> bool [extrait de fallbacksEnabled.__doc__]
fileName(self) -> str fileName(self) -> str [extrait de fileName.__doc__]
Format
format(self) -> PySide6.QtCore.QSettings.Format format(self) -> PySide6.QtCore.QSettings.Format [extrait de format.__doc__]
group(self) -> str group(self) -> str [extrait de group.__doc__]
isAtomicSyncRequired(self) -> bool isAtomicSyncRequired(self) -> bool [extrait de isAtomicSyncRequired.__doc__]
isWritable(self) -> bool isWritable(self) -> bool [extrait de isWritable.__doc__]
objectNameChanged
organizationName(self) -> str organizationName(self) -> str [extrait de organizationName.__doc__]
remove(self, key: str) -> None remove(self, key: str) -> None [extrait de remove.__doc__]
Scope
scope(self) -> PySide6.QtCore.QSettings.Scope scope(self) -> PySide6.QtCore.QSettings.Scope [extrait de scope.__doc__]
setArrayIndex(self, i: int) -> None setArrayIndex(self, i: int) -> None [extrait de setArrayIndex.__doc__]
setAtomicSyncRequired(self, enable: bool) -> None setAtomicSyncRequired(self, enable: bool) -> None [extrait de setAtomicSyncRequired.__doc__]
setDefaultFormat(format: PySide6.QtCore.QSettings.Format) -> None setDefaultFormat(format: PySide6.QtCore.QSettings.Format) -> None [extrait de setDefaultFormat.__doc__]
setFallbacksEnabled(self, b: bool) -> None setFallbacksEnabled(self, b: bool) -> None [extrait de setFallbacksEnabled.__doc__]
setPath(format: PySide6.QtCore.QSettings.Format, scope: PySide6.QtCore.QSettings.Scope, path: str) -> None setPath(format: PySide6.QtCore.QSettings.Format, scope: PySide6.QtCore.QSettings.Scope, path: str) -> None [extrait de setPath.__doc__]
setValue(self, key: str, value: Any) -> None setValue(self, key: str, value: Any) -> None [extrait de setValue.__doc__]
Status
status(self) -> PySide6.QtCore.QSettings.Status status(self) -> PySide6.QtCore.QSettings.Status [extrait de status.__doc__]
sync(self) -> None sync(self) -> None [extrait de sync.__doc__]
tr
value(self, arg__1: str, defaultValue: Optional[Any] = None, type: Optional[object] = None) -> object value(self, arg__1: str, defaultValue: Optional[Any] = None, type: Optional[object] = None) -> object [extrait de value.__doc__]

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__