File indexing completed on 2024-05-12 16:09:11
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QtWin(): 0011 """""" 0012 # Enum QtWin.WindowFlip3DPolicy 0013 FlipDefault = 0 0014 FlipExcludeBelow = 0 0015 FlipExcludeAbove = 0 0016 0017 # Enum QtWin.HBitmapFormat 0018 HBitmapNoAlpha = 0 0019 HBitmapPremultipliedAlpha = 0 0020 HBitmapAlpha = 0 0021 0022 def taskbarDeleteTab(self): 0023 '''static QWindow QtWin.taskbarDeleteTab()''' 0024 return QWindow() 0025 def taskbarDeleteTab(self, window): 0026 '''static void QtWin.taskbarDeleteTab(QWidget window)''' 0027 def taskbarAddTab(self): 0028 '''static QWindow QtWin.taskbarAddTab()''' 0029 return QWindow() 0030 def taskbarAddTab(self, window): 0031 '''static void QtWin.taskbarAddTab(QWidget window)''' 0032 def taskbarActivateTabAlt(self): 0033 '''static QWindow QtWin.taskbarActivateTabAlt()''' 0034 return QWindow() 0035 def taskbarActivateTabAlt(self, window): 0036 '''static void QtWin.taskbarActivateTabAlt(QWidget window)''' 0037 def taskbarActivateTab(self): 0038 '''static QWindow QtWin.taskbarActivateTab()''' 0039 return QWindow() 0040 def taskbarActivateTab(self, window): 0041 '''static void QtWin.taskbarActivateTab(QWidget window)''' 0042 def markFullscreenWindow(self, fullscreen = True): 0043 '''static QWindow QtWin.markFullscreenWindow(bool fullscreen = True)''' 0044 return QWindow() 0045 def markFullscreenWindow(self, window, fullscreen = True): 0046 '''static void QtWin.markFullscreenWindow(QWidget window, bool fullscreen = True)''' 0047 def setCurrentProcessExplicitAppUserModelID(self, id): 0048 '''static void QtWin.setCurrentProcessExplicitAppUserModelID(str id)''' 0049 def isCompositionOpaque(self): 0050 '''static bool QtWin.isCompositionOpaque()''' 0051 return bool() 0052 def setCompositionEnabled(self, enabled): 0053 '''static void QtWin.setCompositionEnabled(bool enabled)''' 0054 def isCompositionEnabled(self): 0055 '''static bool QtWin.isCompositionEnabled()''' 0056 return bool() 0057 def disableBlurBehindWindow(self, window): 0058 '''static void QtWin.disableBlurBehindWindow(QWindow window)''' 0059 def disableBlurBehindWindow(self, window): 0060 '''static void QtWin.disableBlurBehindWindow(QWidget window)''' 0061 def enableBlurBehindWindow(self, window, region): 0062 '''static void QtWin.enableBlurBehindWindow(QWindow window, QRegion region)''' 0063 def enableBlurBehindWindow(self, window): 0064 '''static void QtWin.enableBlurBehindWindow(QWindow window)''' 0065 def enableBlurBehindWindow(self, window, region): 0066 '''static void QtWin.enableBlurBehindWindow(QWidget window, QRegion region)''' 0067 def enableBlurBehindWindow(self, window): 0068 '''static void QtWin.enableBlurBehindWindow(QWidget window)''' 0069 def resetExtendedFrame(self, window): 0070 '''static void QtWin.resetExtendedFrame(QWindow window)''' 0071 def resetExtendedFrame(self, window): 0072 '''static void QtWin.resetExtendedFrame(QWidget window)''' 0073 def extendFrameIntoClientArea(self, window, left, top, right, bottom): 0074 '''static void QtWin.extendFrameIntoClientArea(QWindow window, int left, int top, int right, int bottom)''' 0075 def extendFrameIntoClientArea(self, window, margins): 0076 '''static void QtWin.extendFrameIntoClientArea(QWindow window, QMargins margins)''' 0077 def extendFrameIntoClientArea(self, window, margins): 0078 '''static void QtWin.extendFrameIntoClientArea(QWidget window, QMargins margins)''' 0079 def extendFrameIntoClientArea(self, window, left, top, right, bottom): 0080 '''static void QtWin.extendFrameIntoClientArea(QWidget window, int left, int top, int right, int bottom)''' 0081 def windowFlip3DPolicy(self): 0082 '''static QWindow QtWin.windowFlip3DPolicy()''' 0083 return QWindow() 0084 def windowFlip3DPolicy(self, window): 0085 '''static QtWin.WindowFlip3DPolicy QtWin.windowFlip3DPolicy(QWidget window)''' 0086 return QtWin.WindowFlip3DPolicy() 0087 def setWindowFlip3DPolicy(self, window, policy): 0088 '''static void QtWin.setWindowFlip3DPolicy(QWindow window, QtWin.WindowFlip3DPolicy policy)''' 0089 def setWindowFlip3DPolicy(self, window, policy): 0090 '''static void QtWin.setWindowFlip3DPolicy(QWidget window, QtWin.WindowFlip3DPolicy policy)''' 0091 def isWindowPeekDisallowed(self, window): 0092 '''static bool QtWin.isWindowPeekDisallowed(QWindow window)''' 0093 return bool() 0094 def isWindowPeekDisallowed(self, window): 0095 '''static bool QtWin.isWindowPeekDisallowed(QWidget window)''' 0096 return bool() 0097 def setWindowDisallowPeek(self, window, disallow): 0098 '''static void QtWin.setWindowDisallowPeek(QWindow window, bool disallow)''' 0099 def setWindowDisallowPeek(self, window, disallow): 0100 '''static void QtWin.setWindowDisallowPeek(QWidget window, bool disallow)''' 0101 def isWindowExcludedFromPeek(self, window): 0102 '''static bool QtWin.isWindowExcludedFromPeek(QWindow window)''' 0103 return bool() 0104 def isWindowExcludedFromPeek(self, window): 0105 '''static bool QtWin.isWindowExcludedFromPeek(QWidget window)''' 0106 return bool() 0107 def setWindowExcludedFromPeek(self, window, exclude): 0108 '''static void QtWin.setWindowExcludedFromPeek(QWindow window, bool exclude)''' 0109 def setWindowExcludedFromPeek(self, window, exclude): 0110 '''static void QtWin.setWindowExcludedFromPeek(QWidget window, bool exclude)''' 0111 def realColorizationColor(self): 0112 '''static QColor QtWin.realColorizationColor()''' 0113 return QColor() 0114 def colorizationColor(self, opaqueBlend): 0115 '''static QColor QtWin.colorizationColor(bool opaqueBlend)''' 0116 return QColor() 0117 def errorStringFromHresult(self, hresult): 0118 '''static str QtWin.errorStringFromHresult(int hresult)''' 0119 return str() 0120 def stringFromHresult(self, hresult): 0121 '''static str QtWin.stringFromHresult(int hresult)''' 0122 return str() 0123 def fromHRGN(self, hrgn): 0124 '''static QRegion QtWin.fromHRGN(sip.voidptr hrgn)''' 0125 return QRegion() 0126 def toHRGN(self, region): 0127 '''static sip.voidptr QtWin.toHRGN(QRegion region)''' 0128 return sip.voidptr() 0129 def fromHICON(self, icon): 0130 '''static QPixmap QtWin.fromHICON(sip.voidptr icon)''' 0131 return QPixmap() 0132 def imageFromHBITMAP(self, hdc, bitmap, width, height): 0133 '''static QImage QtWin.imageFromHBITMAP(sip.voidptr hdc, sip.voidptr bitmap, int width, int height)''' 0134 return QImage() 0135 def toHICON(self, p): 0136 '''static sip.voidptr QtWin.toHICON(QPixmap p)''' 0137 return sip.voidptr() 0138 def fromHBITMAP(self, bitmap, format = None): 0139 '''static QPixmap QtWin.fromHBITMAP(sip.voidptr bitmap, QtWin.HBitmapFormat format = QtWin.HBitmapNoAlpha)''' 0140 return QPixmap() 0141 def toHBITMAP(self, p, format = None): 0142 '''static sip.voidptr QtWin.toHBITMAP(QPixmap p, QtWin.HBitmapFormat format = QtWin.HBitmapNoAlpha)''' 0143 return sip.voidptr() 0144 def createMask(self, bitmap): 0145 '''static sip.voidptr QtWin.createMask(QBitmap bitmap)''' 0146 return sip.voidptr() 0147 0148 0149 class QWinJumpList(QObject): 0150 """""" 0151 def __init__(self, parent = None): 0152 '''void QWinJumpList.__init__(QObject parent = None)''' 0153 def clear(self): 0154 '''void QWinJumpList.clear()''' 0155 def addCategory(self, category): 0156 '''void QWinJumpList.addCategory(QWinJumpListCategory category)''' 0157 def addCategory(self, title, items = None): 0158 '''QWinJumpListCategory QWinJumpList.addCategory(str title, list-of-QWinJumpListItem items = QListlt;QWinJumpListItem*gt;())''' 0159 return QWinJumpListCategory() 0160 def categories(self): 0161 '''list-of-QWinJumpListCategory QWinJumpList.categories()''' 0162 return [QWinJumpListCategory()] 0163 def tasks(self): 0164 '''QWinJumpListCategory QWinJumpList.tasks()''' 0165 return QWinJumpListCategory() 0166 def frequent(self): 0167 '''QWinJumpListCategory QWinJumpList.frequent()''' 0168 return QWinJumpListCategory() 0169 def recent(self): 0170 '''QWinJumpListCategory QWinJumpList.recent()''' 0171 return QWinJumpListCategory() 0172 def setIdentifier(self, identifier): 0173 '''void QWinJumpList.setIdentifier(str identifier)''' 0174 def identifier(self): 0175 '''str QWinJumpList.identifier()''' 0176 return str() 0177 0178 0179 class QWinJumpListCategory(): 0180 """""" 0181 # Enum QWinJumpListCategory.Type 0182 Custom = 0 0183 Recent = 0 0184 Frequent = 0 0185 Tasks = 0 0186 0187 def __init__(self, title = str()): 0188 '''void QWinJumpListCategory.__init__(str title = str())''' 0189 def clear(self): 0190 '''void QWinJumpListCategory.clear()''' 0191 def addSeparator(self): 0192 '''QWinJumpListItem QWinJumpListCategory.addSeparator()''' 0193 return QWinJumpListItem() 0194 def addLink(self, title, executablePath, arguments = strList()): 0195 '''QWinJumpListItem QWinJumpListCategory.addLink(str title, str executablePath, list-of-str arguments = strList())''' 0196 return QWinJumpListItem() 0197 def addLink(self, icon, title, executablePath, arguments = strList()): 0198 '''QWinJumpListItem QWinJumpListCategory.addLink(QIcon icon, str title, str executablePath, list-of-str arguments = strList())''' 0199 return QWinJumpListItem() 0200 def addDestination(self, filePath): 0201 '''QWinJumpListItem QWinJumpListCategory.addDestination(str filePath)''' 0202 return QWinJumpListItem() 0203 def addItem(self, item): 0204 '''void QWinJumpListCategory.addItem(QWinJumpListItem item)''' 0205 def items(self): 0206 '''list-of-QWinJumpListItem QWinJumpListCategory.items()''' 0207 return [QWinJumpListItem()] 0208 def isEmpty(self): 0209 '''bool QWinJumpListCategory.isEmpty()''' 0210 return bool() 0211 def count(self): 0212 '''int QWinJumpListCategory.count()''' 0213 return int() 0214 def setTitle(self, title): 0215 '''void QWinJumpListCategory.setTitle(str title)''' 0216 def title(self): 0217 '''str QWinJumpListCategory.title()''' 0218 return str() 0219 def setVisible(self, visible): 0220 '''void QWinJumpListCategory.setVisible(bool visible)''' 0221 def isVisible(self): 0222 '''bool QWinJumpListCategory.isVisible()''' 0223 return bool() 0224 def type(self): 0225 '''QWinJumpListCategory.Type QWinJumpListCategory.type()''' 0226 return QWinJumpListCategory.Type() 0227 0228 0229 class QWinJumpListItem(): 0230 """""" 0231 # Enum QWinJumpListItem.Type 0232 Destination = 0 0233 Link = 0 0234 Separator = 0 0235 0236 def __init__(self, type): 0237 '''void QWinJumpListItem.__init__(QWinJumpListItem.Type type)''' 0238 def arguments(self): 0239 '''list-of-str QWinJumpListItem.arguments()''' 0240 return [str()] 0241 def setArguments(self, arguments): 0242 '''void QWinJumpListItem.setArguments(list-of-str arguments)''' 0243 def description(self): 0244 '''str QWinJumpListItem.description()''' 0245 return str() 0246 def setDescription(self, description): 0247 '''void QWinJumpListItem.setDescription(str description)''' 0248 def title(self): 0249 '''str QWinJumpListItem.title()''' 0250 return str() 0251 def setTitle(self, title): 0252 '''void QWinJumpListItem.setTitle(str title)''' 0253 def icon(self): 0254 '''QIcon QWinJumpListItem.icon()''' 0255 return QIcon() 0256 def setIcon(self, icon): 0257 '''void QWinJumpListItem.setIcon(QIcon icon)''' 0258 def workingDirectory(self): 0259 '''str QWinJumpListItem.workingDirectory()''' 0260 return str() 0261 def setWorkingDirectory(self, workingDirectory): 0262 '''void QWinJumpListItem.setWorkingDirectory(str workingDirectory)''' 0263 def filePath(self): 0264 '''str QWinJumpListItem.filePath()''' 0265 return str() 0266 def setFilePath(self, filePath): 0267 '''void QWinJumpListItem.setFilePath(str filePath)''' 0268 def type(self): 0269 '''QWinJumpListItem.Type QWinJumpListItem.type()''' 0270 return QWinJumpListItem.Type() 0271 def setType(self, type): 0272 '''void QWinJumpListItem.setType(QWinJumpListItem.Type type)''' 0273 0274 0275 class QWinTaskbarButton(QObject): 0276 """""" 0277 def __init__(self, parent = None): 0278 '''void QWinTaskbarButton.__init__(QObject parent = None)''' 0279 def clearOverlayIcon(self): 0280 '''void QWinTaskbarButton.clearOverlayIcon()''' 0281 def setOverlayAccessibleDescription(self, description): 0282 '''void QWinTaskbarButton.setOverlayAccessibleDescription(str description)''' 0283 def setOverlayIcon(self, icon): 0284 '''void QWinTaskbarButton.setOverlayIcon(QIcon icon)''' 0285 def eventFilter(self): 0286 '''QEvent QWinTaskbarButton.eventFilter()''' 0287 return QEvent() 0288 def progress(self): 0289 '''QWinTaskbarProgress QWinTaskbarButton.progress()''' 0290 return QWinTaskbarProgress() 0291 def overlayAccessibleDescription(self): 0292 '''str QWinTaskbarButton.overlayAccessibleDescription()''' 0293 return str() 0294 def overlayIcon(self): 0295 '''QIcon QWinTaskbarButton.overlayIcon()''' 0296 return QIcon() 0297 def window(self): 0298 '''QWindow QWinTaskbarButton.window()''' 0299 return QWindow() 0300 def setWindow(self, window): 0301 '''void QWinTaskbarButton.setWindow(QWindow window)''' 0302 0303 0304 class QWinTaskbarProgress(QObject): 0305 """""" 0306 def __init__(self, parent = None): 0307 '''void QWinTaskbarProgress.__init__(QObject parent = None)''' 0308 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 0309 maximumChanged = pyqtSignal() # void maximumChanged(int) - signal 0310 minimumChanged = pyqtSignal() # void minimumChanged(int) - signal 0311 valueChanged = pyqtSignal() # void valueChanged(int) - signal 0312 def stop(self): 0313 '''void QWinTaskbarProgress.stop()''' 0314 def setPaused(self, paused): 0315 '''void QWinTaskbarProgress.setPaused(bool paused)''' 0316 def resume(self): 0317 '''void QWinTaskbarProgress.resume()''' 0318 def pause(self): 0319 '''void QWinTaskbarProgress.pause()''' 0320 def setVisible(self, visible): 0321 '''void QWinTaskbarProgress.setVisible(bool visible)''' 0322 def hide(self): 0323 '''void QWinTaskbarProgress.hide()''' 0324 def show(self): 0325 '''void QWinTaskbarProgress.show()''' 0326 def reset(self): 0327 '''void QWinTaskbarProgress.reset()''' 0328 def setRange(self, minimum, maximum): 0329 '''void QWinTaskbarProgress.setRange(int minimum, int maximum)''' 0330 def setMaximum(self, maximum): 0331 '''void QWinTaskbarProgress.setMaximum(int maximum)''' 0332 def setMinimum(self, minimum): 0333 '''void QWinTaskbarProgress.setMinimum(int minimum)''' 0334 def setValue(self, value): 0335 '''void QWinTaskbarProgress.setValue(int value)''' 0336 def isStopped(self): 0337 '''bool QWinTaskbarProgress.isStopped()''' 0338 return bool() 0339 def isPaused(self): 0340 '''bool QWinTaskbarProgress.isPaused()''' 0341 return bool() 0342 def isVisible(self): 0343 '''bool QWinTaskbarProgress.isVisible()''' 0344 return bool() 0345 def maximum(self): 0346 '''int QWinTaskbarProgress.maximum()''' 0347 return int() 0348 def minimum(self): 0349 '''int QWinTaskbarProgress.minimum()''' 0350 return int() 0351 def value(self): 0352 '''int QWinTaskbarProgress.value()''' 0353 return int() 0354 0355 0356 class QWinThumbnailToolBar(QObject): 0357 """""" 0358 def __init__(self, parent = None): 0359 '''void QWinThumbnailToolBar.__init__(QObject parent = None)''' 0360 iconicLivePreviewPixmapRequested = pyqtSignal() # void iconicLivePreviewPixmapRequested() - signal 0361 iconicThumbnailPixmapRequested = pyqtSignal() # void iconicThumbnailPixmapRequested() - signal 0362 def setIconicLivePreviewPixmap(self): 0363 '''QPixmap QWinThumbnailToolBar.setIconicLivePreviewPixmap()''' 0364 return QPixmap() 0365 def setIconicThumbnailPixmap(self): 0366 '''QPixmap QWinThumbnailToolBar.setIconicThumbnailPixmap()''' 0367 return QPixmap() 0368 def clear(self): 0369 '''void QWinThumbnailToolBar.clear()''' 0370 def iconicLivePreviewPixmap(self): 0371 '''QPixmap QWinThumbnailToolBar.iconicLivePreviewPixmap()''' 0372 return QPixmap() 0373 def iconicThumbnailPixmap(self): 0374 '''QPixmap QWinThumbnailToolBar.iconicThumbnailPixmap()''' 0375 return QPixmap() 0376 def setIconicPixmapNotificationsEnabled(self, enabled): 0377 '''void QWinThumbnailToolBar.setIconicPixmapNotificationsEnabled(bool enabled)''' 0378 def iconicPixmapNotificationsEnabled(self): 0379 '''bool QWinThumbnailToolBar.iconicPixmapNotificationsEnabled()''' 0380 return bool() 0381 def count(self): 0382 '''int QWinThumbnailToolBar.count()''' 0383 return int() 0384 def buttons(self): 0385 '''list-of-QWinThumbnailToolButton QWinThumbnailToolBar.buttons()''' 0386 return [QWinThumbnailToolButton()] 0387 def setButtons(self, buttons): 0388 '''void QWinThumbnailToolBar.setButtons(list-of-QWinThumbnailToolButton buttons)''' 0389 def removeButton(self, button): 0390 '''void QWinThumbnailToolBar.removeButton(QWinThumbnailToolButton button)''' 0391 def addButton(self, button): 0392 '''void QWinThumbnailToolBar.addButton(QWinThumbnailToolButton button)''' 0393 def window(self): 0394 '''QWindow QWinThumbnailToolBar.window()''' 0395 return QWindow() 0396 def setWindow(self, window): 0397 '''void QWinThumbnailToolBar.setWindow(QWindow window)''' 0398 0399 0400 class QWinThumbnailToolButton(QObject): 0401 """""" 0402 def __init__(self, parent = None): 0403 '''void QWinThumbnailToolButton.__init__(QObject parent = None)''' 0404 clicked = pyqtSignal() # void clicked() - signal 0405 def click(self): 0406 '''void QWinThumbnailToolButton.click()''' 0407 def isFlat(self): 0408 '''bool QWinThumbnailToolButton.isFlat()''' 0409 return bool() 0410 def setFlat(self, flat): 0411 '''void QWinThumbnailToolButton.setFlat(bool flat)''' 0412 def dismissOnClick(self): 0413 '''bool QWinThumbnailToolButton.dismissOnClick()''' 0414 return bool() 0415 def setDismissOnClick(self, dismiss): 0416 '''void QWinThumbnailToolButton.setDismissOnClick(bool dismiss)''' 0417 def isVisible(self): 0418 '''bool QWinThumbnailToolButton.isVisible()''' 0419 return bool() 0420 def setVisible(self, visible): 0421 '''void QWinThumbnailToolButton.setVisible(bool visible)''' 0422 def isInteractive(self): 0423 '''bool QWinThumbnailToolButton.isInteractive()''' 0424 return bool() 0425 def setInteractive(self, interactive): 0426 '''void QWinThumbnailToolButton.setInteractive(bool interactive)''' 0427 def isEnabled(self): 0428 '''bool QWinThumbnailToolButton.isEnabled()''' 0429 return bool() 0430 def setEnabled(self, enabled): 0431 '''void QWinThumbnailToolButton.setEnabled(bool enabled)''' 0432 def icon(self): 0433 '''QIcon QWinThumbnailToolButton.icon()''' 0434 return QIcon() 0435 def setIcon(self, icon): 0436 '''void QWinThumbnailToolButton.setIcon(QIcon icon)''' 0437 def toolTip(self): 0438 '''str QWinThumbnailToolButton.toolTip()''' 0439 return str() 0440 def setToolTip(self, toolTip): 0441 '''void QWinThumbnailToolButton.setToolTip(str toolTip)''' 0442 0443