Skip to content

RandomGenerator

Qt Base Class: QRandomGenerator

Signature: QRandomGenerator(self, begin: int, end: int) -> None QRandomGenerator(self, other: PySide6.QtCore.QRandomGenerator) -> None QRandomGenerator(self, seedBuffer: int, len: int) -> None QRandomGenerator(self, seedValue: int = 1) -> None

Base classes

Name Children Inherits
QRandomGenerator
PySide6.QtCore
QRandomGenerator(self, begin: int, end: int) -> None

⋔ Inheritance diagram

graph TD
  1473299814048["core.RandomGenerator"]
  1473243779344["QtCore.QRandomGenerator"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473243779344 --> 1473299814048
  1473291690208 --> 1473243779344
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QRandomGenerator

Allows one to obtain random values from a high-quality Random Number Generator.

Source code in prettyqt\core\randomgenerator.py
class RandomGenerator(QtCore.QRandomGenerator):
    """Allows one to obtain random values from a high-quality Random Number Generator."""