MotorXP-AFM Scripting API
    Preparing search index...

    Class QCheckBox

    Check box for toggling a Boolean state.

    Hierarchy (View Summary)

    Index
    • Creates a QCheckBox with optional text and parent widget.

      Parameters

      • Optionaltext: string

        Text next to the check box.

      • Optionalparent: Object

        Parent widget.

      Returns QCheckBox

    checked: boolean

    Current check state: true if checked; false if unchecked.

    Read/Write

    enabled: boolean

    Current availability: true if enabled; false if disabled.

    Read/Write

    maximumHeight: number
    maximumWidth: number

    Maximum widget width in pixels.

    Read/Write

    minimumHeight: number

    Minimum widget height in pixels. Sets the lower limit of the label height.

    Read/Write

    minimumWidth: number
    objectName: string

    Unique object name used for lookup and styling.

    Read/Write

    styleSheet: string

    Widget style sheet (see QtWidgets.style*()).

    Read/Write

    toggled: SignalConnector<boolean>

    Signal emitted when the check state changes.

    Read

    toolTip: string
    visible: boolean

    Current visibility: true if visible; false if hidden.

    Read/Write

    • Blocks or unblocks signals from the object.

      Parameters

      • block: boolean

        True to block signals; false to unblock them.

      Returns boolean

      Previous signal-blocking state.

    • Hides the widget.

      Returns void

      Write

    • Sets the check state.

      Parameters

      • checked: boolean

        New state.

      Returns void

      Write

    • Enables or disables the widget.

      Parameters

      • enabled: boolean

        True to enable; false to disable.

      Returns void

    • Sets widget visibility.

      Parameters

      • visible: boolean

        Visibility flag.

      Returns void

      Write

    • Shows the widget.

      Returns void

      Write