# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
from __future__ import annotations

"""
This file contains the exact signatures for all functions in module
PySide6.QtDesigner, except for defaults which are replaced by "...".
"""

# Module `PySide6.QtDesigner`

import PySide6.QtDesigner
import PySide6.QtCore
import PySide6.QtGui
import PySide6.QtWidgets

import enum
from typing import Any, ClassVar, List, Optional, Sequence, Tuple, Union, overload
from PySide6.QtCore import Signal
from shiboken6 import Shiboken


class QAbstractExtensionFactory(Shiboken.Object):

    def __init__(self) -> None: ...

    def extension(self, object: PySide6.QtCore.QObject, iid: str) -> PySide6.QtCore.QObject: ...


class QAbstractExtensionManager(Shiboken.Object):

    def __init__(self) -> None: ...

    def extension(self, object: PySide6.QtCore.QObject, iid: str) -> PySide6.QtCore.QObject: ...
    def registerExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str) -> None: ...
    def unregisterExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str) -> None: ...


class QAbstractFormBuilder(Shiboken.Object):

    def __init__(self) -> None: ...

    def addMenuAction(self, action: PySide6.QtGui.QAction) -> None: ...
    def applyPropertyInternally(self, o: PySide6.QtCore.QObject, propertyName: str, value: Any) -> bool: ...
    def checkProperty(self, obj: PySide6.QtCore.QObject, prop: str) -> bool: ...
    def createAction(self, parent: PySide6.QtCore.QObject, name: str) -> PySide6.QtGui.QAction: ...
    def createActionGroup(self, parent: PySide6.QtCore.QObject, name: str) -> PySide6.QtGui.QActionGroup: ...
    def createLayout(self, layoutName: str, parent: PySide6.QtCore.QObject, name: str) -> PySide6.QtWidgets.QLayout: ...
    def createWidget(self, widgetName: str, parentWidget: PySide6.QtWidgets.QWidget, name: str) -> PySide6.QtWidgets.QWidget: ...
    def errorString(self) -> str: ...
    def load(self, dev: PySide6.QtCore.QIODevice, parentWidget: Optional[PySide6.QtWidgets.QWidget] = ...) -> PySide6.QtWidgets.QWidget: ...
    def reset(self) -> None: ...
    def save(self, dev: PySide6.QtCore.QIODevice, widget: PySide6.QtWidgets.QWidget) -> None: ...
    def setWorkingDirectory(self, directory: Union[PySide6.QtCore.QDir, str]) -> None: ...
    @staticmethod
    def toolBarAreaMetaEnum() -> PySide6.QtCore.QMetaEnum: ...
    def workingDirectory(self) -> PySide6.QtCore.QDir: ...


class QDesignerActionEditorInterface(PySide6.QtWidgets.QWidget):

    def __init__(self, parent: PySide6.QtWidgets.QWidget, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...

    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def manageAction(self, action: PySide6.QtGui.QAction) -> None: ...
    def setFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface) -> None: ...
    def unmanageAction(self, action: PySide6.QtGui.QAction) -> None: ...


class QDesignerContainerExtension(Shiboken.Object):

    def __init__(self) -> None: ...

    def addWidget(self, widget: PySide6.QtWidgets.QWidget) -> None: ...
    def canAddWidget(self) -> bool: ...
    def canRemove(self, index: int) -> bool: ...
    def count(self) -> int: ...
    def currentIndex(self) -> int: ...
    def insertWidget(self, index: int, widget: PySide6.QtWidgets.QWidget) -> None: ...
    def remove(self, index: int) -> None: ...
    def setCurrentIndex(self, index: int) -> None: ...
    def widget(self, index: int) -> PySide6.QtWidgets.QWidget: ...


class QDesignerCustomWidgetCollectionInterface(Shiboken.Object):

    def __init__(self) -> None: ...

    def customWidgets(self) -> List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...


class QDesignerCustomWidgetInterface(Shiboken.Object):

    def __init__(self) -> None: ...

    def codeTemplate(self) -> str: ...
    def createWidget(self, parent: PySide6.QtWidgets.QWidget) -> PySide6.QtWidgets.QWidget: ...
    def domXml(self) -> str: ...
    def group(self) -> str: ...
    def icon(self) -> PySide6.QtGui.QIcon: ...
    def includeFile(self) -> str: ...
    def initialize(self, core: PySide6.QtDesigner.QDesignerFormEditorInterface) -> None: ...
    def isContainer(self) -> bool: ...
    def isInitialized(self) -> bool: ...
    def name(self) -> str: ...
    def toolTip(self) -> str: ...
    def whatsThis(self) -> str: ...


class QDesignerDnDItemInterface(Shiboken.Object):

    class DropType(enum.Enum):

        MoveDrop                 : QDesignerDnDItemInterface.DropType = ... # 0x0
        CopyDrop                 : QDesignerDnDItemInterface.DropType = ... # 0x1


    def __init__(self) -> None: ...

    def decoration(self) -> PySide6.QtWidgets.QWidget: ...
    def hotSpot(self) -> PySide6.QtCore.QPoint: ...
    def source(self) -> PySide6.QtWidgets.QWidget: ...
    def type(self) -> PySide6.QtDesigner.QDesignerDnDItemInterface.DropType: ...
    def widget(self) -> PySide6.QtWidgets.QWidget: ...


class QDesignerDynamicPropertySheetExtension(Shiboken.Object):

    def __init__(self) -> None: ...

    def addDynamicProperty(self, propertyName: str, value: Any) -> int: ...
    def canAddDynamicProperty(self, propertyName: str) -> bool: ...
    def dynamicPropertiesAllowed(self) -> bool: ...
    def isDynamicProperty(self, index: int) -> bool: ...
    def removeDynamicProperty(self, index: int) -> bool: ...


class QDesignerFormEditorInterface(PySide6.QtCore.QObject):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...

    def actionEditor(self) -> PySide6.QtDesigner.QDesignerActionEditorInterface: ...
    @staticmethod
    def createIcon(name: str) -> PySide6.QtGui.QIcon: ...
    def extensionManager(self) -> PySide6.QtDesigner.QExtensionManager: ...
    def formWindowManager(self) -> PySide6.QtDesigner.QDesignerFormWindowManagerInterface: ...
    def objectInspector(self) -> PySide6.QtDesigner.QDesignerObjectInspectorInterface: ...
    def pluginInstances(self) -> List[PySide6.QtCore.QObject]: ...
    def propertyEditor(self) -> PySide6.QtDesigner.QDesignerPropertyEditorInterface: ...
    def resourceLocation(self) -> str: ...
    def setActionEditor(self, actionEditor: PySide6.QtDesigner.QDesignerActionEditorInterface) -> None: ...
    def setExtensionManager(self, extensionManager: PySide6.QtDesigner.QExtensionManager) -> None: ...
    def setFormManager(self, formWindowManager: PySide6.QtDesigner.QDesignerFormWindowManagerInterface) -> None: ...
    def setObjectInspector(self, objectInspector: PySide6.QtDesigner.QDesignerObjectInspectorInterface) -> None: ...
    def setPropertyEditor(self, propertyEditor: PySide6.QtDesigner.QDesignerPropertyEditorInterface) -> None: ...
    def setTopLevel(self, topLevel: PySide6.QtWidgets.QWidget) -> None: ...
    def setWidgetBox(self, widgetBox: PySide6.QtDesigner.QDesignerWidgetBoxInterface) -> None: ...
    def topLevel(self) -> PySide6.QtWidgets.QWidget: ...
    def widgetBox(self) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface: ...


class QDesignerFormWindowCursorInterface(Shiboken.Object):

    class MoveMode(enum.Enum):

        MoveAnchor               : QDesignerFormWindowCursorInterface.MoveMode = ... # 0x0
        KeepAnchor               : QDesignerFormWindowCursorInterface.MoveMode = ... # 0x1


    class MoveOperation(enum.Enum):

        NoMove                   : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x0
        Start                    : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x1
        End                      : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x2
        Next                     : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x3
        Prev                     : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x4
        Left                     : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x5
        Right                    : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x6
        Up                       : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x7
        Down                     : QDesignerFormWindowCursorInterface.MoveOperation = ... # 0x8


    def __init__(self) -> None: ...

    def current(self) -> PySide6.QtWidgets.QWidget: ...
    def formWindow(self) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def hasSelection(self) -> bool: ...
    def isWidgetSelected(self, widget: PySide6.QtWidgets.QWidget) -> bool: ...
    def movePosition(self, op: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveOperation, mode: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveMode = ...) -> bool: ...
    def position(self) -> int: ...
    def resetWidgetProperty(self, widget: PySide6.QtWidgets.QWidget, name: str) -> None: ...
    def selectedWidget(self, index: int) -> PySide6.QtWidgets.QWidget: ...
    def selectedWidgetCount(self) -> int: ...
    def setPosition(self, pos: int, mode: PySide6.QtDesigner.QDesignerFormWindowCursorInterface.MoveMode = ...) -> None: ...
    def setProperty(self, name: str, value: Any) -> None: ...
    def setWidgetProperty(self, widget: PySide6.QtWidgets.QWidget, name: str, value: Any) -> None: ...
    def widget(self, index: int) -> PySide6.QtWidgets.QWidget: ...
    def widgetCount(self) -> int: ...


class QDesignerFormWindowInterface(PySide6.QtWidgets.QWidget):

    aboutToUnmanageWidget    : ClassVar[Signal] = ... # aboutToUnmanageWidget(QWidget*)
    activated                : ClassVar[Signal] = ... # activated(QWidget*)
    changed                  : ClassVar[Signal] = ... # changed()
    featureChanged           : ClassVar[Signal] = ... # featureChanged(Feature)
    fileNameChanged          : ClassVar[Signal] = ... # fileNameChanged(QString)
    geometryChanged          : ClassVar[Signal] = ... # geometryChanged()
    mainContainerChanged     : ClassVar[Signal] = ... # mainContainerChanged(QWidget*)
    objectRemoved            : ClassVar[Signal] = ... # objectRemoved(QObject*)
    resourceFilesChanged     : ClassVar[Signal] = ... # resourceFilesChanged()
    selectionChanged         : ClassVar[Signal] = ... # selectionChanged()
    toolChanged              : ClassVar[Signal] = ... # toolChanged(int)
    widgetManaged            : ClassVar[Signal] = ... # widgetManaged(QWidget*)
    widgetRemoved            : ClassVar[Signal] = ... # widgetRemoved(QWidget*)
    widgetUnmanaged          : ClassVar[Signal] = ... # widgetUnmanaged(QWidget*)

    class FeatureFlag(enum.Flag):

        EditFeature              : QDesignerFormWindowInterface.FeatureFlag = ... # 0x1
        GridFeature              : QDesignerFormWindowInterface.FeatureFlag = ... # 0x2
        DefaultFeature           : QDesignerFormWindowInterface.FeatureFlag = ... # 0x3
        TabOrderFeature          : QDesignerFormWindowInterface.FeatureFlag = ... # 0x4


    class ResourceFileSaveMode(enum.Enum):

        SaveAllResourceFiles     : QDesignerFormWindowInterface.ResourceFileSaveMode = ... # 0x0
        SaveOnlyUsedResourceFiles: QDesignerFormWindowInterface.ResourceFileSaveMode = ... # 0x1
        DontSaveResourceFiles    : QDesignerFormWindowInterface.ResourceFileSaveMode = ... # 0x2


    def __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...

    def absoluteDir(self) -> PySide6.QtCore.QDir: ...
    def activateResourceFilePaths(self, paths: Sequence[str]) -> Tuple[int, str]: ...
    def activeResourceFilePaths(self) -> List[str]: ...
    def addResourceFile(self, path: str) -> None: ...
    def author(self) -> str: ...
    def beginCommand(self, description: str) -> None: ...
    def checkContents(self) -> List[str]: ...
    def clearSelection(self, changePropertyDisplay: bool = ...) -> None: ...
    def commandHistory(self) -> PySide6.QtGui.QUndoStack: ...
    def comment(self) -> str: ...
    def contents(self) -> str: ...
    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def currentTool(self) -> int: ...
    def cursor(self) -> PySide6.QtDesigner.QDesignerFormWindowCursorInterface: ...
    def editWidgets(self) -> None: ...
    def emitSelectionChanged(self) -> None: ...
    def endCommand(self) -> None: ...
    def ensureUniqueObjectName(self, object: PySide6.QtCore.QObject) -> None: ...
    def exportMacro(self) -> str: ...
    def features(self) -> PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag: ...
    def fileName(self) -> str: ...
    @overload
    @staticmethod
    def findFormWindow(obj: PySide6.QtCore.QObject) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    @overload
    @staticmethod
    def findFormWindow(w: PySide6.QtWidgets.QWidget) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def formContainer(self) -> PySide6.QtWidgets.QWidget: ...
    def grid(self) -> PySide6.QtCore.QPoint: ...
    def hasFeature(self, f: PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag) -> bool: ...
    def includeHints(self) -> List[str]: ...
    def isDirty(self) -> bool: ...
    def isManaged(self, widget: PySide6.QtWidgets.QWidget) -> bool: ...
    def layoutDefault(self) -> Tuple[int, int]: ...
    def layoutFunction(self) -> Tuple[str, str]: ...
    def mainContainer(self) -> PySide6.QtWidgets.QWidget: ...
    def manageWidget(self, widget: PySide6.QtWidgets.QWidget) -> None: ...
    def pixmapFunction(self) -> str: ...
    def registerTool(self, tool: PySide6.QtDesigner.QDesignerFormWindowToolInterface) -> None: ...
    def removeResourceFile(self, path: str) -> None: ...
    def resourceFileSaveMode(self) -> PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode: ...
    def resourceFiles(self) -> List[str]: ...
    def selectWidget(self, w: PySide6.QtWidgets.QWidget, select: bool = ...) -> None: ...
    def setAuthor(self, author: str) -> None: ...
    def setComment(self, comment: str) -> None: ...
    @overload
    def setContents(self, contents: str) -> bool: ...
    @overload
    def setContents(self, dev: PySide6.QtCore.QIODevice) -> Tuple[bool, str]: ...
    def setCurrentTool(self, index: int) -> None: ...
    def setDirty(self, dirty: bool) -> None: ...
    def setExportMacro(self, exportMacro: str) -> None: ...
    def setFeatures(self, f: PySide6.QtDesigner.QDesignerFormWindowInterface.FeatureFlag) -> None: ...
    def setFileName(self, fileName: str) -> None: ...
    def setGrid(self, grid: PySide6.QtCore.QPoint) -> None: ...
    def setIncludeHints(self, includeHints: Sequence[str]) -> None: ...
    def setLayoutDefault(self, margin: int, spacing: int) -> None: ...
    def setLayoutFunction(self, margin: str, spacing: str) -> None: ...
    def setMainContainer(self, mainContainer: PySide6.QtWidgets.QWidget) -> None: ...
    def setPixmapFunction(self, pixmapFunction: str) -> None: ...
    def setResourceFileSaveMode(self, behaviour: PySide6.QtDesigner.QDesignerFormWindowInterface.ResourceFileSaveMode) -> None: ...
    def simplifySelection(self, widgets: Sequence[PySide6.QtWidgets.QWidget]) -> None: ...
    def tool(self, index: int) -> PySide6.QtDesigner.QDesignerFormWindowToolInterface: ...
    def toolCount(self) -> int: ...
    def unmanageWidget(self, widget: PySide6.QtWidgets.QWidget) -> None: ...


class QDesignerFormWindowManagerInterface(PySide6.QtCore.QObject):

    activeFormWindowChanged  : ClassVar[Signal] = ... # activeFormWindowChanged(QDesignerFormWindowInterface*)
    formWindowAdded          : ClassVar[Signal] = ... # formWindowAdded(QDesignerFormWindowInterface*)
    formWindowRemoved        : ClassVar[Signal] = ... # formWindowRemoved(QDesignerFormWindowInterface*)
    formWindowSettingsChanged: ClassVar[Signal] = ... # formWindowSettingsChanged(QDesignerFormWindowInterface*)

    class Action(enum.Enum):

        CutAction                : QDesignerFormWindowManagerInterface.Action = ... # 0x64
        CopyAction               : QDesignerFormWindowManagerInterface.Action = ... # 0x65
        PasteAction              : QDesignerFormWindowManagerInterface.Action = ... # 0x66
        DeleteAction             : QDesignerFormWindowManagerInterface.Action = ... # 0x67
        SelectAllAction          : QDesignerFormWindowManagerInterface.Action = ... # 0x68
        LowerAction              : QDesignerFormWindowManagerInterface.Action = ... # 0xc8
        RaiseAction              : QDesignerFormWindowManagerInterface.Action = ... # 0xc9
        UndoAction               : QDesignerFormWindowManagerInterface.Action = ... # 0x12c
        RedoAction               : QDesignerFormWindowManagerInterface.Action = ... # 0x12d
        HorizontalLayoutAction   : QDesignerFormWindowManagerInterface.Action = ... # 0x190
        VerticalLayoutAction     : QDesignerFormWindowManagerInterface.Action = ... # 0x191
        SplitHorizontalAction    : QDesignerFormWindowManagerInterface.Action = ... # 0x192
        SplitVerticalAction      : QDesignerFormWindowManagerInterface.Action = ... # 0x193
        GridLayoutAction         : QDesignerFormWindowManagerInterface.Action = ... # 0x194
        FormLayoutAction         : QDesignerFormWindowManagerInterface.Action = ... # 0x195
        BreakLayoutAction        : QDesignerFormWindowManagerInterface.Action = ... # 0x196
        AdjustSizeAction         : QDesignerFormWindowManagerInterface.Action = ... # 0x197
        SimplifyLayoutAction     : QDesignerFormWindowManagerInterface.Action = ... # 0x198
        DefaultPreviewAction     : QDesignerFormWindowManagerInterface.Action = ... # 0x1f4
        FormWindowSettingsDialogAction: QDesignerFormWindowManagerInterface.Action = ... # 0x258


    class ActionGroup(enum.Enum):

        StyledPreviewActionGroup : QDesignerFormWindowManagerInterface.ActionGroup = ... # 0x64


    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...

    def action(self, action: PySide6.QtDesigner.QDesignerFormWindowManagerInterface.Action) -> PySide6.QtGui.QAction: ...
    def actionAdjustSize(self) -> PySide6.QtGui.QAction: ...
    def actionBreakLayout(self) -> PySide6.QtGui.QAction: ...
    def actionCopy(self) -> PySide6.QtGui.QAction: ...
    def actionCut(self) -> PySide6.QtGui.QAction: ...
    def actionDelete(self) -> PySide6.QtGui.QAction: ...
    def actionFormLayout(self) -> PySide6.QtGui.QAction: ...
    def actionGridLayout(self) -> PySide6.QtGui.QAction: ...
    def actionGroup(self, actionGroup: PySide6.QtDesigner.QDesignerFormWindowManagerInterface.ActionGroup) -> PySide6.QtGui.QActionGroup: ...
    def actionHorizontalLayout(self) -> PySide6.QtGui.QAction: ...
    def actionLower(self) -> PySide6.QtGui.QAction: ...
    def actionPaste(self) -> PySide6.QtGui.QAction: ...
    def actionRaise(self) -> PySide6.QtGui.QAction: ...
    def actionRedo(self) -> PySide6.QtGui.QAction: ...
    def actionSelectAll(self) -> PySide6.QtGui.QAction: ...
    def actionSimplifyLayout(self) -> PySide6.QtGui.QAction: ...
    def actionSplitHorizontal(self) -> PySide6.QtGui.QAction: ...
    def actionSplitVertical(self) -> PySide6.QtGui.QAction: ...
    def actionUndo(self) -> PySide6.QtGui.QAction: ...
    def actionVerticalLayout(self) -> PySide6.QtGui.QAction: ...
    def activeFormWindow(self) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def addFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface) -> None: ...
    def closeAllPreviews(self) -> None: ...
    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def createFormWindow(self, parentWidget: Optional[PySide6.QtWidgets.QWidget] = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def createPreviewPixmap(self) -> PySide6.QtGui.QPixmap: ...
    def dragItems(self, item_list: Sequence[PySide6.QtDesigner.QDesignerDnDItemInterface]) -> None: ...
    def formWindow(self, index: int) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def formWindowCount(self) -> int: ...
    def removeFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface) -> None: ...
    def setActiveFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface) -> None: ...
    def showPluginDialog(self) -> None: ...
    def showPreview(self) -> None: ...


class QDesignerFormWindowToolInterface(PySide6.QtCore.QObject):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...

    def action(self) -> PySide6.QtGui.QAction: ...
    def activated(self) -> None: ...
    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def deactivated(self) -> None: ...
    def editor(self) -> PySide6.QtWidgets.QWidget: ...
    def formWindow(self) -> PySide6.QtDesigner.QDesignerFormWindowInterface: ...
    def handleEvent(self, widget: PySide6.QtWidgets.QWidget, managedWidget: PySide6.QtWidgets.QWidget, event: PySide6.QtCore.QEvent) -> bool: ...


class QDesignerMemberSheetExtension(Shiboken.Object):

    def __init__(self) -> None: ...

    def count(self) -> int: ...
    def declaredInClass(self, index: int) -> str: ...
    def indexOf(self, name: str) -> int: ...
    def inheritedFromWidget(self, index: int) -> bool: ...
    def isSignal(self, index: int) -> bool: ...
    def isSlot(self, index: int) -> bool: ...
    def isVisible(self, index: int) -> bool: ...
    def memberGroup(self, index: int) -> str: ...
    def memberName(self, index: int) -> str: ...
    def parameterNames(self, index: int) -> List[PySide6.QtCore.QByteArray]: ...
    def parameterTypes(self, index: int) -> List[PySide6.QtCore.QByteArray]: ...
    def setMemberGroup(self, index: int, group: str) -> None: ...
    def setVisible(self, index: int, b: bool) -> None: ...
    def signature(self, index: int) -> str: ...


class QDesignerObjectInspectorInterface(PySide6.QtWidgets.QWidget):

    def __init__(self, parent: PySide6.QtWidgets.QWidget, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...

    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def setFormWindow(self, formWindow: PySide6.QtDesigner.QDesignerFormWindowInterface) -> None: ...


class QDesignerPropertyEditorInterface(PySide6.QtWidgets.QWidget):

    propertyChanged          : ClassVar[Signal] = ... # propertyChanged(QString,QVariant)

    def __init__(self, parent: PySide6.QtWidgets.QWidget, flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...

    def core(self) -> PySide6.QtDesigner.QDesignerFormEditorInterface: ...
    def currentPropertyName(self) -> str: ...
    def isReadOnly(self) -> bool: ...
    def object(self) -> PySide6.QtCore.QObject: ...
    def setObject(self, object: PySide6.QtCore.QObject) -> None: ...
    def setPropertyValue(self, name: str, value: Any, changed: bool = ...) -> None: ...
    def setReadOnly(self, readOnly: bool) -> None: ...


class QDesignerPropertySheetExtension(Shiboken.Object):

    def __init__(self) -> None: ...

    def count(self) -> int: ...
    def hasReset(self, index: int) -> bool: ...
    def indexOf(self, name: str) -> int: ...
    def isAttribute(self, index: int) -> bool: ...
    def isChanged(self, index: int) -> bool: ...
    def isEnabled(self, index: int) -> bool: ...
    def isVisible(self, index: int) -> bool: ...
    def property(self, index: int) -> Any: ...
    def propertyGroup(self, index: int) -> str: ...
    def propertyName(self, index: int) -> str: ...
    def reset(self, index: int) -> bool: ...
    def setAttribute(self, index: int, b: bool) -> None: ...
    def setChanged(self, index: int, changed: bool) -> None: ...
    def setProperty(self, index: int, value: Any) -> None: ...
    def setPropertyGroup(self, index: int, group: str) -> None: ...
    def setVisible(self, index: int, b: bool) -> None: ...


class QDesignerTaskMenuExtension(Shiboken.Object):

    def __init__(self) -> None: ...

    def preferredEditAction(self) -> PySide6.QtGui.QAction: ...
    def taskActions(self) -> List[PySide6.QtGui.QAction]: ...


class QDesignerWidgetBoxInterface(PySide6.QtWidgets.QWidget):

    class Category(Shiboken.Object):

        class Type(enum.Enum):

            Default                  : QDesignerWidgetBoxInterface.Category.Type = ... # 0x0
            Scratchpad               : QDesignerWidgetBoxInterface.Category.Type = ... # 0x1


        @overload
        def __init__(self, Category: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category) -> None: ...
        @overload
        def __init__(self, aname: str = ..., atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type = ...) -> None: ...

        @staticmethod
        def __copy__() -> None: ...
        def addWidget(self, awidget: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget) -> None: ...
        def isNull(self) -> bool: ...
        def name(self) -> str: ...
        def removeWidget(self, idx: int) -> None: ...
        def setName(self, aname: str) -> None: ...
        def setType(self, atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type) -> None: ...
        def type(self) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category.Type: ...
        def widget(self, idx: int) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget: ...
        def widgetCount(self) -> int: ...

    class Widget(Shiboken.Object):

        class Type(enum.Enum):

            Default                  : QDesignerWidgetBoxInterface.Widget.Type = ... # 0x0
            Custom                   : QDesignerWidgetBoxInterface.Widget.Type = ... # 0x1


        @overload
        def __init__(self, aname: str = ..., xml: str = ..., icon_name: str = ..., atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type = ...) -> None: ...
        @overload
        def __init__(self, w: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget) -> None: ...

        @staticmethod
        def __copy__() -> None: ...
        def domXml(self) -> str: ...
        def iconName(self) -> str: ...
        def isNull(self) -> bool: ...
        def name(self) -> str: ...
        def setDomXml(self, xml: str) -> None: ...
        def setIconName(self, icon_name: str) -> None: ...
        def setName(self, aname: str) -> None: ...
        def setType(self, atype: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type) -> None: ...
        def type(self) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget.Type: ...


    def __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = ..., flags: PySide6.QtCore.Qt.WindowType = ...) -> None: ...

    def addCategory(self, cat: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category) -> None: ...
    def addWidget(self, cat_idx: int, wgt: PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget) -> None: ...
    def category(self, cat_idx: int) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Category: ...
    def categoryCount(self) -> int: ...
    def dropWidgets(self, item_list: Sequence[PySide6.QtDesigner.QDesignerDnDItemInterface], global_mouse_pos: PySide6.QtCore.QPoint) -> None: ...
    def fileName(self) -> str: ...
    def findOrInsertCategory(self, categoryName: str) -> int: ...
    def load(self) -> bool: ...
    def removeCategory(self, cat_idx: int) -> None: ...
    def removeWidget(self, cat_idx: int, wgt_idx: int) -> None: ...
    def save(self) -> bool: ...
    def setFileName(self, file_name: str) -> None: ...
    def widget(self, cat_idx: int, wgt_idx: int) -> PySide6.QtDesigner.QDesignerWidgetBoxInterface.Widget: ...
    def widgetCount(self, cat_idx: int) -> int: ...


class QExtensionFactory(PySide6.QtCore.QObject, PySide6.QtDesigner.QAbstractExtensionFactory):

    def __init__(self, parent: Optional[PySide6.QtDesigner.QExtensionManager] = ...) -> None: ...

    def createExtension(self, object: PySide6.QtCore.QObject, iid: str, parent: PySide6.QtCore.QObject) -> PySide6.QtCore.QObject: ...
    def extension(self, object: PySide6.QtCore.QObject, iid: str) -> PySide6.QtCore.QObject: ...
    def extensionManager(self) -> PySide6.QtDesigner.QExtensionManager: ...


class QExtensionManager(PySide6.QtCore.QObject, PySide6.QtDesigner.QAbstractExtensionManager):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...

    def extension(self, object: PySide6.QtCore.QObject, iid: str) -> PySide6.QtCore.QObject: ...
    def registerExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str = ...) -> None: ...
    def unregisterExtensions(self, factory: PySide6.QtDesigner.QAbstractExtensionFactory, iid: str = ...) -> None: ...


class QFormBuilder(PySide6.QtDesigner.QAbstractFormBuilder):

    def __init__(self) -> None: ...

    def addPluginPath(self, pluginPath: str) -> None: ...
    def clearPluginPaths(self) -> None: ...
    def createLayout(self, layoutName: str, parent: PySide6.QtCore.QObject, name: str) -> PySide6.QtWidgets.QLayout: ...
    def createWidget(self, widgetName: str, parentWidget: PySide6.QtWidgets.QWidget, name: str) -> PySide6.QtWidgets.QWidget: ...
    def customWidgets(self) -> List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...
    def pluginPaths(self) -> List[str]: ...
    def setPluginPath(self, pluginPaths: Sequence[str]) -> None: ...
    def updateCustomWidgets(self) -> None: ...
    @staticmethod
    def widgetByName(topLevel: PySide6.QtWidgets.QWidget, name: str) -> PySide6.QtWidgets.QWidget: ...


class QIntList(object): ...


class QPyDesignerContainerExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerContainerExtension):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...


class QPyDesignerCustomWidgetCollection(PySide6.QtDesigner.QDesignerCustomWidgetCollectionInterface):
    @staticmethod
    def addCustomWidget(c: PySide6.QtDesigner.QDesignerCustomWidgetInterface) -> None: ...
    def customWidgets(self) -> List[PySide6.QtDesigner.QDesignerCustomWidgetInterface]: ...
    @staticmethod
    def instance() -> PySide6.QtDesigner.QPyDesignerCustomWidgetCollection: ...
    @staticmethod
    def registerCustomWidget(customWidgetType: object, xml: str = ..., tool_tip: str = ..., group: str = ..., module: str = ..., container: bool = ..., icon: str = ...) -> None: ...


class QPyDesignerMemberSheetExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerMemberSheetExtension):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...


class QPyDesignerPropertySheetExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerPropertySheetExtension):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...


class QPyDesignerTaskMenuExtension(PySide6.QtCore.QObject, PySide6.QtDesigner.QDesignerTaskMenuExtension):

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None: ...


# eof
