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 « PySide2.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: PySide2.QtCore.QSettings.Format, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QSettings(self, format: PySide2.QtCore.QSettings.Format, scope: PySide2.QtCore.QSettings.Scope, organization: str, application: str = '', parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QSettings(self, organization: str, application: str = '', parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QSettings(self, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QSettings(self, scope: PySide2.QtCore.QSettings.Scope, organization: str, application: str = '', parent: typing.Union[PySide2.QtCore.QObject, NoneType] = None)
QSettings(self, scope: PySide2.QtCore.QSettings.Scope, parent: typing.Union[PySide2.QtCore.QObject, NoneType] = 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__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AccessErrorPySide2.QtCore.QSettings.Status.AccessError
CustomFormat1PySide2.QtCore.QSettings.Format.CustomFormat1
CustomFormat10PySide2.QtCore.QSettings.Format.CustomFormat10
CustomFormat11PySide2.QtCore.QSettings.Format.CustomFormat11
CustomFormat12PySide2.QtCore.QSettings.Format.CustomFormat12
CustomFormat13PySide2.QtCore.QSettings.Format.CustomFormat13
CustomFormat14PySide2.QtCore.QSettings.Format.CustomFormat14
CustomFormat15PySide2.QtCore.QSettings.Format.CustomFormat15
CustomFormat16PySide2.QtCore.QSettings.Format.CustomFormat16
CustomFormat2PySide2.QtCore.QSettings.Format.CustomFormat2
CustomFormat3PySide2.QtCore.QSettings.Format.CustomFormat3
CustomFormat4PySide2.QtCore.QSettings.Format.CustomFormat4
CustomFormat5PySide2.QtCore.QSettings.Format.CustomFormat5
CustomFormat6PySide2.QtCore.QSettings.Format.CustomFormat6
CustomFormat7PySide2.QtCore.QSettings.Format.CustomFormat7
CustomFormat8PySide2.QtCore.QSettings.Format.CustomFormat8
CustomFormat9PySide2.QtCore.QSettings.Format.CustomFormat9
FormatErrorPySide2.QtCore.QSettings.Status.FormatError
IniFormatPySide2.QtCore.QSettings.Format.IniFormat
InvalidFormatPySide2.QtCore.QSettings.Format.InvalidFormat
NativeFormatPySide2.QtCore.QSettings.Format.NativeFormat
NoErrorPySide2.QtCore.QSettings.Status.NoError
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36c899c0>
SystemScopePySide2.QtCore.QSettings.Scope.SystemScope
UserScopePySide2.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) -> typing.List[str] allKeys(self) -> typing.List[str] [extrait de allKeys.__doc__]
applicationName(self) -> str applicationName(self) -> str [extrait de applicationName.__doc__]
beginGroup(self, prefix: str) beginGroup(self, prefix: str) [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) beginWriteArray(self, prefix: str, size: int = -1) [extrait de beginWriteArray.__doc__]
childGroups(self) -> typing.List[str] childGroups(self) -> typing.List[str] [extrait de childGroups.__doc__]
childKeys(self) -> typing.List[str] childKeys(self) -> typing.List[str] [extrait de childKeys.__doc__]
clear(self) clear(self) [extrait de clear.__doc__]
contains(self, key: str) -> bool contains(self, key: str) -> bool [extrait de contains.__doc__]
defaultFormat() -> PySide2.QtCore.QSettings.Format defaultFormat() -> PySide2.QtCore.QSettings.Format [extrait de defaultFormat.__doc__]
destroyed
endArray(self) endArray(self) [extrait de endArray.__doc__]
endGroup(self) endGroup(self) [extrait de endGroup.__doc__]
event(self, event: PySide2.QtCore.QEvent) -> bool event(self, event: PySide2.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) -> PySide2.QtCore.QSettings.Format format(self) -> PySide2.QtCore.QSettings.Format [extrait de format.__doc__]
group(self) -> str group(self) -> str [extrait de group.__doc__]
iniCodec(self) -> PySide2.QtCore.QTextCodec iniCodec(self) -> PySide2.QtCore.QTextCodec [extrait de iniCodec.__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) remove(self, key: str) [extrait de remove.__doc__]
Scope
scope(self) -> PySide2.QtCore.QSettings.Scope scope(self) -> PySide2.QtCore.QSettings.Scope [extrait de scope.__doc__]
setArrayIndex(self, i: int) setArrayIndex(self, i: int) [extrait de setArrayIndex.__doc__]
setAtomicSyncRequired(self, enable: bool) setAtomicSyncRequired(self, enable: bool) [extrait de setAtomicSyncRequired.__doc__]
setDefaultFormat(format: PySide2.QtCore.QSettings.Format) setDefaultFormat(format: PySide2.QtCore.QSettings.Format) [extrait de setDefaultFormat.__doc__]
setFallbacksEnabled(self, b: bool) setFallbacksEnabled(self, b: bool) [extrait de setFallbacksEnabled.__doc__]
setIniCodec setIniCodec(self, codec: PySide2.QtCore.QTextCodec) [extrait de setIniCodec.__doc__]
setPath(format: PySide2.QtCore.QSettings.Format, scope: PySide2.QtCore.QSettings.Scope, path: str) setPath(format: PySide2.QtCore.QSettings.Format, scope: PySide2.QtCore.QSettings.Scope, path: str) [extrait de setPath.__doc__]
setValue(self, key: str, value: typing.Any) setValue(self, key: str, value: typing.Any) [extrait de setValue.__doc__]
Status
status(self) -> PySide2.QtCore.QSettings.Status status(self) -> PySide2.QtCore.QSettings.Status [extrait de status.__doc__]
sync(self) sync(self) [extrait de sync.__doc__]
value(self, arg__1: str, defaultValue: typing.Union[typing.Any, NoneType] = None, type: typing.Union[object, NoneType] = None) -> object value(self, arg__1: str, defaultValue: typing.Union[typing.Any, NoneType] = None, type: typing.Union[object, NoneType] = 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, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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