pybitmessage.bitmessageqt.settingsmixin module¶
src/settingsmixin.py¶
-
class
SettingsMixin
[source]¶ Bases:
object
Mixin for adding geometry and state saving between restarts.
-
warnIfNoObjectName
()¶ Handle objects which don’t have a name. Currently it ignores them. Objects without a name can’t have their state/geometry saved as they don’t have an identifier.
-
writeState
(source)¶ Save object state (e.g. relative position of a splitter)
-
writeGeometry
(source)¶ Save object geometry (e.g. window size and position)
-
readGeometry
(target)¶ Load object geometry
-
readState
(target)¶ Load object state
-